Next, I do not know which one to cancel not to run, but I think it's AlarmManager
!
I have a class that registers a AlarmManager
with Intent("BROADCAST")
to execute at a specific time, when that AlarmManager
is executed it calls a class that extends from WakefullBroadcastReceived
, and when that receve is executed it calls a class type Service
that generates a notification!
All information code is on this link (another call that was resolved): BroadCast notification when Android device is asleep
My question now is: how to cancel the execution of this event if the user deletes the event before it has occurred (cause it to not wake up / run Broadcast
/ AlarmManager
)
Thanks!