Titanium Community Questions & Answer Archive

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

Is it possible to keep the iPad awake?

Can you somehow make sure that the iPad doesn't turn off the screen or goes to sleep?

— asked November 12th 2010 by Ole Gade Nielsen
  • sleep
0 Comments

1 Answer

  • Accepted Answer

    Titanium.App.idleTimerDisabled = true;

    — answered November 12th 2010 by Xiao Jin
    permalink
    2 Comments
    • Perfectly.. It worked! Thanks.

      — commented November 13th 2010 by Ole Gade Nielsen
    • Something for Android, please. This doesn't work for me :(

      Titanium.UI.View.keepScreenOn = true;
      

      — commented November 23rd 2012 by Sko
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.