> 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/

Reply via email to