Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Prevent screen from turning off (Android)

I've got an app that I would like to ensure never lets the screen shut down. (Much like the navigation app google publishes) Is this possible? I've tried the following with no luck:

Ti.App.idleTimerDisabled = true; // to disable going to sleep

— asked October 15th 2010 by Anthony Webb
  • android
  • sleep

2 Answers

  • Accepted Answer

    I added Ticket 2102 to track the feature request.

    — answered October 17th 2010 by Don Thorp
  • I am no expert but for iPhone apps you need to make a change in info.plist which allows 3 types of background to stay "alive". The three are Audio, Location and Voip..Hope that helps

    — answered October 15th 2010 by Duncan Kabinu
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.