[android-developers] Alarm manager for multiple pending intent are not working.

2010-08-16 Thread nomi
Hi all, In my application i have created pending intent which calls another activity (after 20mins of alarm off) with the help of alarm manger. It should happen each time for each new pending intent or when I call that activity. But when i create one pending intent and after few mins again create

Re: [android-developers] Alarm manager for multiple pending intent are not working.

2010-08-16 Thread Kostya Vasilyev
Setting an alarm cancels any previous alarms that have the same intent as the new one. In your code, the old and new intents only differ by their extras, which are not considered (I believe). What you could do is calculate the next point in time when an alarm is needed, set one alarm, and