Ability to prevent the phone from going to sleep.

Same functionality as:

[UIApplication sharedApplication].idleTimerDisabled = YES; [import]uid: 70 topic_id: 352 reply_id: 300352[/import]

Actually, this is already available! See p.40 of the API Reference:

system.setIdleTimer( enabled )

  • Controls whether the idle timer is enabled. If enabled is true, the timer will be active (default); inactive if false. When active, the idle timer dims the screen and eventually puts the device to sleep when no user activity occurs (e.g. screen touches). [import]uid: 3007 topic_id: 352 reply_id: 624[/import]

Awesome!

Thanks, Evan. [import]uid: 70 topic_id: 352 reply_id: 631[/import]