"Pilot Pogrammer" <[EMAIL PROTECTED]> wrote in message news:21922@palm-dev-forum... > 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...... Two ideas: 1) See how long it takes for SysHandleEvent to execute. If it takes a while, the device must have been off during that time. Of course, you only find out that the device WAS off, not that it's about to be turned off. 2) Write a shared library. Shared libraries have standard sleep and wake entry points. -- Danny Epstein OS Engineer, Palm Inc. -- 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... 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
