Write a value to your app's preference record indicating you caused the reset. On receiving the reset message, check the preference for the flag. If the flag is there, set your app up for launch.
----- Original Message ----- From: "Brad Figler" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 8:51 PM Subject: Question about launching after a soft reset. > I would like to cause my application to do a soft reset and then re-launch > itself when the soft reset is complete. However, I only want to do this > when I cause the soft reset. I know that I can handle > sysAppLaunchCmdSystemReset launch code, but I would need to know that I was > the one who caused the reset. I am sure that I could store a flag somewhere > in a database and check it when I receive this launch code, clear it, and > launch my app normally. > > Is there an easier way of achieving this effect? > > Thanks in advance, > > Brad > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
