Skip to content Skip to sidebar Skip to footer

Android Reschedule Alarmmanager Alarm When App Is Killed

I've developed an app to schedule multiple local notifications to remind users to do something. Every month in the current year there should an notification be raised. These local

Solution 1:

Try to run this as a background service. When the user opens up the app for the first time, call the service OnCreate(). Make sure the service is START_STICKY so it cannot be stopped unless you explicitly tell it to. Then place your AlarmManagers inside the service.


Post a Comment for "Android Reschedule Alarmmanager Alarm When App Is Killed"