Identify and cancel an alarm send to an AlarmManager
-
26-09-2019 - |
Question
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?
Solution
You probably want to have a closer look at the AlarmManager.cancel(PendingIntent operation)
function.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow