Thursday, June 30, 2011

[android-developers] AlarmManager - list of alarms set?

Hi all. I'm using AlarmManager to, well, set an alarm which then calls
a BroadcastReceiver at specified times.

Is there a way, in my code, I can get hold of a list of the alarms
that have been set, and then identify in some way if my alarm is in
the list?

(I want to do this because sometimes, the process dies in the
onReceive() method so the next alarm never gets set, and it would be
useful when the app is running to do a double check - and if it's not
in the list, then set it again).

Thanks.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate