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 Automatic Lock ?

Is it possible when playing an MP3 file to prevent the automatic screenlock to come in, instead of putting it off in the settings menu ?

— asked April 1st 2010 by Johan Pyfferoen
  • lock

1 Answer

  • Accepted Answer

    Titanium.App.idleTimerDisabled = true;

    …should do the trick.

    — answered April 1st 2010 by Kevin Whinnery
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.