"Martin Reinfried" <[EMAIL PROTECTED]> wrote in message
news:63236@palm-dev-forum...
>
> Ben,
>
> Thanks for the information. The sleep notification seems like a good
idea,
> since the user can't change the clock while the palm is asleep.
However,
> can the app deal with the sleep notification even if the users are
running
> another application when the palm goes to sleep? For example, say the
user
> types a code into my app and then goes and uses something else, such
as the
> calculator. The palm then goes to sleep and 15 minutes later, the
user
> brings it back to full on mode and runs my app to see whether new
> information is available yet. Can my app know that the palm was
asleep for
> 15 minutes while running the calculator app, so that it can add 15
minutes
> to the time elapsed since the entering of the code? I guess I'm not
sure
> how the sleep notifications work. Any info would be greatly
appreciated.
You should read the Notifications section of the "Application Startup
and Stop" chapter in the Palm OS Companion, included in the Palm OS
documentation. In addition to sleep and wake notifications, you can get
a notification if the user ever changes the time -- although it may
occur too late to grab the old time value.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/