- Home /
Question by
Kaypi · May 18, 2014 at 02:44 AM ·
androidinputtouchacceleration
screenCanDarken for Android (Backlight going dark)
How to disable the backlight going dark after a few seconds on Android phone? the same can be achieved in case of iPhone by iPhoneSettings.screenCanDarken = false; How do i do the same in case of Android device. My game has inputs not in the form of touch but by accelerometer (for now).
Thanks.
Comment
Well, I found the answer myself. Surprisingly, iPhoneSettings.screenCanDarken = false; works for Android device as well!