Hello,

maybe you could iterate over all installed applications (type 'appl'), call
AlmGetAlarm for each one of them, store the returned time & ref values and
clear the alarm. Later on restore the alarms by calling AlmSetAlarm.

Best regards,
    Jan Slodicka

----- Original Message ----- 
From: "Mehul Patel" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Thursday, July 28, 2005 7:24 AM
Subject: How to Block/Restore System Alarms??


> Hi,
>    I want to disable the Alarms & then restore it. Just like the HotSync
application ,default security App etc.. does.
>
> 1.)I captured but "vchrAlarm", But It doesn't seem to work.
>
> 2.)I used the undocumented function
>              "AlmEnableNotification(Boolean enable)"
>
>      This works fine in disabling all the alarms but it doesn't enable the
alarms on my device. I have to reset the device to restore the alarm
functionality.
>      In the description of this function, it is written that
> "A call to disable MUST always precede the call to enable."
> What does this mean. I tried to do that but it gives error.
> Anyone knows about "How to use this function?"
>
> 3.) Does "cdmPBP->purgeAlarm" in the "SysAlarmTriggerred" notification is
of any use?
>
> 4.) Can I use "AttnGetAttention()" function of Attention manager  in
achiving this functionality?
>
> Thanks in Advance.
>
>
> Best Regards,
> Mehul
>
> -- 
> For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


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

Reply via email to