How to Disable from autolocking the screen in Windows Phone App ?

In Windows Phone , you can set the autolocking feature of the screen if the user doesn’t interact with the Windows Phone Device for sometime.

You can Disable this feature only for your App so that that the auto locking of the screen doesn;t happen when your App is running in Windows Phone. A simple example turn by turn navigation app that can guide you for to reach the destination . The user might not want the Windows Phone device to be autolocked inbetween although the user is not physically interacting with the Windows Phone screen.

You can disable the autolocking the screen in Windows Phone App by setting the PhoneApplicationService.Current.UserIdleDetectionMode to Disable .

PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...