Question

i am developing a metro app in which i fetching some data from service at that moment the device will go to auto lock since it is un - responsive for long time.

so , how can i avoid this auto locking in the metro app when some process/fetching/syncing is happening with services.

i am not able test this scenario since i am testing it on an emulator.

1) how to avoid auto locking feature in metro app when it is running? 2) What are the various possible ways in which i can do this ?

Please help me out.

Thanks in Advance.

Était-ce utile?

La solution

Please check this document: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj152728.aspx DisplayRequest.RequestActive method can help.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top