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/

Reply via email to