Disable screen from autolocking on Windows Phone 7

前端 未结 2 406
不知归路
不知归路 2020-12-24 06:09

I need to prevent the screen from automatically locking itself if the user dont interact with the device for a while.

Is it possible to request some kind of lock to

2条回答
  •  被撕碎了的回忆
    2020-12-24 06:54

    Yes, you can do this by disabling UserIdleDetection.

    Samples and more background info here.

    PhoneApplicationService.UserIdleDetectionMode Property (Microsoft.Phone.Shell)

    Idle Detection for Windows Phone

提交回复
热议问题