cancelling the alarms which were set previously
-
28-10-2019 - |
Frage
I have created an alarm application in android.The problem is, when the phone reboots the alarm which was set already for previous date is showing. How to cancel the alarms which were set before the current date.
Lösung
what are you using to set the alarm ? If you are using AlarManager to do so then try AlarmManager.cancel();
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow