S Shining Member Licensed User Longtime User Jun 22, 2010 #1 Hello, I'm making an application that plays wave files to facilitate meditation exercises. (with timers) Before I start I manually disable the "turn off the device after 2 minutes of not being used"-flag in the energy settings of my htc touch hd. If I don't do this, my device is turned off after 2 minutes when the aplication runs. How can I disable and enable this flag through my program ? Thanks for the input.
Hello, I'm making an application that plays wave files to facilitate meditation exercises. (with timers) Before I start I manually disable the "turn off the device after 2 minutes of not being used"-flag in the energy settings of my htc touch hd. If I don't do this, my device is turned off after 2 minutes when the aplication runs. How can I disable and enable this flag through my program ? Thanks for the input.
Erel B4X founder Staff member Licensed User Longtime User Jun 22, 2010 #2 See Hardware.KeepAlive: http://www.b4x.com/help/hardware/index.html?keepalive
S Shining Member Licensed User Longtime User Jun 22, 2010 #3 Erel said: See Hardware.KeepAlive: Hardware Click to expand... Missed that library. Thanks a lot.