Actually you can call SysSetAutoOffTime() and pass a value of 0 to tell it to never sleep. Just be sure to put the old value back when you are done.
-Aaron >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Dave Johnson >Sent: Tuesday, May 24, 2005 9:24 AM >To: Palm Developer Forum >Subject: Re: How to prevent the device from going to sleep? > > >If you're in some sort of loop, you can just call >EvtResetAutoOffTimer() periodically for as long as you need to stay >awake... > >Dave > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
