You can stop your app from getting wiped by flashing it (on units with
flashable memory), but this, in of itself, will not get you up in place of
the built in launcher after a hard reset (which seemed to be what the
original poster wanted).
-jjf
-----Original Message-----
From: Rick Gadbois [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 1:06 PM
To: Palm Developer Forum
Subject: RE: Replacing the Launcher application
You can launch your app after a hard reset by first backing up your
application in Flash, then you can replace your app as the default app or
write another simple app to replace the default and have that one call
yours.
-----Original Message-----
From: Fitzpatrick, Joe [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 4:07 PM
To: Palm Developer Forum
Subject: RE: Replacing the Launcher application
No, in a hard reset the application will not receive the launch code -
because it will already have been cleared from memory.
Most Enterprise Deployment Tools will not survive a hard reset, which is why
Brian suggested building an OS image.
-jjf
-----Original Message-----
From: Tim Charron [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 6:17 AM
To: Palm Developer Forum
Subject: Re: Replacing the Launcher application
> That is not good enough. I want to completely replace the default
Launcher
> so that my application will be the first thing that comes up even if you
do
> a hard reset.
Well, you can detect a hard reset by looking for the launcher command:
if (cmd==sysAppLaunchCmdSystemReset)
if ((((SysAppLaunchCmdSystemResetType*)cmdPBP)->hardReset)) {
SetAnAlarm();
}
Then, in your SetAnAlarm() function, you could change the silk-screen
apps button to yourself, and then when the alarm triggers, do a UI app
switch to yourself. (remember, you need to let the boot up procedure
finish, so you can't just take over from within the
sysAppLaunchCmdSystemReset code).
-- Tim
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/