>>My big problem is that I want to know for how long the Palm 
>has been in
>>sleep mode. My idea was to get the TimGetSeconds when the Palm 
>>goes to sleep
>>and the do the same when it returns..... The problem for me is 
>>to know when
>>the device enters sleep mode...... I would be a big help for 
>>me if you have
>>any idea!!
>
>Well, theoretically, if you were to block off the power key in your
>event loop, then save the current time, then call SysSleep (it's not
>recommended that you do so, but you could try it on the 
>emulator...don't
>know if that would work).  Just a thought...
>
>-Rus

(You could use the Notification Manager too, if you're doing OS 3.5...
just an afterthought inspired by David Fedor's post...)
-Rus

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to