alarm = (AlarmManager)getSystemService(ALARM_SERVICE);
alarm.cancel(alarmIntent);

Where alarmIntent is the intent that was previously used in .set()

On Jun 15, 3:17 am, "hencechen...@gmail.com" <hencechen...@gmail.com>
wrote:
> alarms.set(AlarmManager.RTC_WAKEUP, getTime(), alarmIntent);
>
> i have set a alarm,but now i want to delete it?
> how can i make it.
>
> Thank you for your helping.
>                                                                  hence
--~--~---------~--~----~------------~-------~--~----~
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