Turn Off Auto-Brightness

Hi everybody,

First of all I searched forums but I couldn’t find any topic related to this. I built a simple game by using Corona. After you begin playing the game, you never touch the screen. You only use accelerometer. That’s why after a while auto-brightness does its job and screen goes black.

Can we turn off auto-brightness in our apps?

Thank you [import]uid: 5629 topic_id: 1649 reply_id: 301649[/import]

You can enable or disable the system time-out with system.setIdleTimer( true|false ). Set it to false to keep it from dimming the screen and going to sleep. Set it to true to restore the default operation (and the battery life).

-Tom [import]uid: 7559 topic_id: 1649 reply_id: 4778[/import]