>>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/
- Re: Does app get notified when Palm switches "off&qu... Pilot Pogrammer
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- Re: Does app get notified when Palm switches "off&qu... Pilot Pogrammer
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- Re: Does app get notified when Palm switches "off&qu... Pilot Pogrammer
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- Re: Does app get notified when Palm switches "off&qu... Pilot Pogrammer
- Re: Does app get notified when Palm switches "off&qu... David Fedor
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- RE: Does app get notified when Palm switches "off&qu... Nesse, Rustin
- Re: Does app get notified when Palm switches "off&qu... Danny Epstein
- Re: Does app get notified when Palm switches "off&qu... Dave Lippincott
- Re: Does app get notified when Palm switches "off&qu... Bradly J. Barton
- Re: Does app get notified when Palm switches "off&qu... Bradly J. Barton
- RE: Does app get notified when Palm switches "off&qu... Richard Anderson
