If you want to prevent the lockscreen from appearing, set this in App.xaml.cs:
public partial class App : Application
{
// Easy access to the root frame
public PhoneApplicationFrame RootFrame { get; private set; }
// Constructor
public App()
{
// Global handler for uncaught exceptions.
// Note that exceptions thrown by ApplicationBarItem.Click will not get caught here.
UnhandledException += Application_UnhandledException;
// Standard Silverlight initialization
InitializeComponent();
// Phone-specific initialization
InitializePhoneApplication();
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
}
Update:
It’s actually not that difficult – it goes like this
Technorati Tags: WP7
2 comments:
A step by step guide would be great.
A step by step guide would be great.
Post a comment