>I'm using the following code to set an alarm in my application:
>
> SysCurAppDatabase(&cardNo, &dbID);
> AlmSetAlarm(cardNo, dbID, 0, iCDEnd, true);
>
>This works fine on POSE (with a m100 ROM), the emulator will "switch on" if
>it is off and everything works as expected. However on the actual device
>(m100), the alarm works if the Palm is switched on. However if it is
>switched off the alarm does not wake the device up! Instead the alarm is
>triggered the next time the Palm is switched on.
When the device is off, it doesn't trigger alarms quite as precisely as it
does when it is on. I think it'll trigger only at minute boundaries. How
long have you waited before you decided that the alarm wasn't working?
Also, if you don't do any UI, I believe the screen doesn't turn on. I'd
have to go check that, but I think that's the way it works, for situations
that need to do something but don't need to use the screen and therefore
can conserve the batteries.
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/