[android-developers] Why doesn't AlarmManager allow querying or browsing of alarms or pending intents?

2010-10-23 Thread Anil
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

Re: [android-developers] Why doesn't AlarmManager allow querying or browsing of alarms or pending intents?

2010-10-23 Thread Dianne Hackborn
A PendingIntent lasts for as long as things have reference on it. It is not tied to an activity (well unless it is to deliver a result to an activity). As the doc says: A PendingIntent itself is simply a reference to a token maintained by the system describing the original data used to