Thanks for the help.
The problem was with the precision of the alarm trigger. It would have been
usful if this limitation was mentioned in the SDK documentation.
As I need an alarm accurate to 1 second, it looks as if I will have to
except that the Palm will have to be left switched on all the time.

James Screech

David Fedor <[EMAIL PROTECTED]> wrote in message
news:48058@palm-dev-forum...
>
> >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/

Reply via email to