|
I want to prevent android phone from going to sleep using my code? How to do that please help.
(comments are locked)
|
|
It appears you can set iPhoneSettings.screenCanDarken to false to achieve this at the moment. I just built and confirmed this works. Adding that line shows the permission "System tools prevent phone from sleeping".
Apr 11 '11 at 04:31 AM
JoshOClock
(comments are locked)
|
|
This has already been answered ... Android: prevent phone from sleeping
But I want to do it in my program itself. Please provide me the code.
Sep 16 '10 at 04:16 AM
Jacob 2
(comments are locked)
|
