> I am actually trying to close my app on the power off button and finnish
> running all my tidy up code before the thing actually turns off. This is
> important that my code fully ends before power off.
why?
there is no reason for this. the Palm is not a PC. you dont shut
the machine down when you press the "power" button. it just turns
off the display and runs in a very low powered mode.
your "device" is never off technically.. need to power that RAM!
when the person *leaves* your app, then.. you should do all the
cleaning up you need.. just pressing [off] does not make the app
close down.. pressing [on] will return it to exactly where it was
before you pressed the [off].
cheers
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/