Does anyone know how to setup an application to execute at powerup?
If by power-up, you mean when the batteries are first inserted
or charged up, one way to do this is to have your application
installed in the ROM.  (Check out the 3rd party flash ROM
modification utilities.)

Is there a way to have an application on a memory card auto-run
at battery insertion or initial charge up?  Then another solution
would be to put your application on a write protected memory
card, and somehow make sure this card is inserted at power-up.

For soft-reset initialization, there is a launchcode your app can
handle; but you may have to change your applications name if you
want it to be early in the sort order.  A warm-reset, however,
will prevent this launchcode from being broadcast.

For a wake from sleep/nap (which really isn't a power-up; the
processor has power, just no CPU clock), your application can
ask for a wakeup notification (see the Notifications Manager API).
A soft-reset appears to clear all notification requests though.

If you are writing a security application, there's a list of almost
a hundred of them here:
  <http://www.tranzoa.com/html/compete.htm>

Ron Nicholson
HotPaw
 <http://www.hotpaw.com/rhn/hotpaw>

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to