That's normal, the default behavior on Windows Phone when locking the screen is to put the app in a dormant state in order to reduce power consumption
If you want to override that behavior, you should use the following code:
"PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;"
Your app will be allowed to execude code even when the phone is locked.
If you want to override that behavior, you should use the following code:
"PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;"
Your app will be allowed to execude code even when the phone is locked.
No comments:
Post a Comment