Re: Fwd: [android-beginners] Alarm Manager

2009-08-04 Thread Chris
How did u achieve that, can u be a bit more elaborative. I am facing the same problem i tried using different requestcode but it didnt work. Thanks On Jul 2, 4:54 pm, Veroland marius.ven...@gmail.com wrote: Thanks, I saw in the documentation that it was not used but tried to set the request

Re: Fwd: [android-beginners] Alarm Manager

2009-07-02 Thread Beth
I hit this issue hard and found the answers sorting through threads on the non-beginner developer group. Here is what I learned... When setting more than one timer/alarm, the second parameter in the Pending Intent call to getBroadcast is important. Your code looks like this: PendingIntent

Re: Fwd: [android-beginners] Alarm Manager

2009-07-02 Thread Veroland
Thanks, I saw in the documentation that it was not used but tried to set the request code to my alarm's corresponding db entity's id and it looks like its working. I only tried that this morning for the first time. Thanks for the help On Jul 2, 8:42 am, Beth emez...@gmail.com wrote: I hit this

Fwd: [android-beginners] Alarm Manager

2009-07-01 Thread varsha acharya
Hi, I have a similar problem.. I have to send a sms on alarm to a predefined number. first time it works well... sends the sms on alarm but then if i set the alarm to send a different sms,it sends the previous sms. -- Forwarded message -- From: Veroland marius.ven...@gmail.com

Re: Fwd: [android-beginners] Alarm Manager

2009-07-01 Thread Veroland
To get around this problem look at the flags the PendingIntent takes, I changed mine to PedingIntent.FLAG_CANCEL_CURRENT in the getBroadcast method, it means that if there was a previous PendingIntent it will update it with the new Intent. What I am not sure about yet is being able to