Search code examples
androidalarmmanagerandroid-pendingintent

AlarmManager does not work when device turned off and then turned on


I have programmed an Alarm Manager which works except when I turn off and then turn on my device. It seem that the pendingIntent is not fired. Do you now why?


Solution

  • Use Broadcast Receiver for background services and attach to your application lifecycles