Trying to write a simple alarm clock with multiple alarms. However, I
don't understand this part: when an alarm has been set and has to be
modified or deleted, then the PendingIntent is used to set the alarm
with flags FLAG_CANCEL_CURRENT, FLAG_UPDATE_CURRENT.
But how is this checked with those PendingIntents already registered
with the Alarm Manager?
Is it just a reference == comparison? (in which case when back button
is pressed then references to the PendingIntents in my activity are
lost), or are the parts of the intent compared in a equals()
comparison?

In other words, can we be confident that Alarm Manager will accurately
say, "This is the same alarm and needs to be updated rather than added
as a new one"?
thanks,
Anil

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to