- Home /
Android: prevent phone from sleeping
Hello!
How can I prevent my phone from sleeping while I play a game made Unity Android? (will setting a permission help, or is something more involved?)
thanks
Comment
Answer by Dave 5 · Sep 20, 2010 at 02:50 PM
It appears you can set iPhoneSettings.screenCanDarken to false to achieve this during runtime.
Answer by DaveA · Sep 08, 2010 at 01:05 AM
Settings/Applications/Development/Stay Awake (check that)
Can you show some screenshot please ? I am a little lost here.
Do we have this setting in the phone itself ?
Your answer
Follow this Question
Related Questions
Android Sleep Mode Problem 0 Answers
How do I reset Screen.sleepTimeout's user input timer? 1 Answer
Unity 3 Android license question 2 Answers
Unity Android Market Publishing Problem 4 Answers