问题
If I use the AlarmManager to schedule an alarm (a PendintIntent which should be send), how can I identify that alarm later to cancel it? Can I cancel all alarms scheduled by my app?
回答1:
You probably want to have a closer look at the AlarmManager.cancel(PendingIntent operation) function.
来源:https://stackoverflow.com/questions/4212824/identify-and-cancel-an-alarm-send-to-an-alarmmanager