android-alarms

Android canceling all alarm set

Hi all. I am making an event application and user can set a reminder for events he wants. So i use the alarmManager to create alarms. I would like to put a cancel all option to my main activity so that i could cancel all the alarms created by my application. The usual method for canceling the alarm with the same intent doesnt really help...

Android: stop services and alarms when the application ends

I have an application that consist of several Activities. When the application starts, some alarms are scheduled using AlarmManager and some services are started: AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); a.setInexactRepeating(...) .... I would like to know any way to guarantee every service is...