I have a doubt: if I create an alarm in Android using the AlarmManager
, and I reboot the phone, will the alarm still be there, or should I store the alarms in the DB so when the phone is rebooted it'll be created again?
I read the documentation from Android but it doesn't say anything about it (or I just don't understand it). Could anyone please help here?
Thanks a lot in advance!
Alarms do not survive reboot, so you need to register your Application to start on boot and re-register your alarms from what you stored in the database. This has been discussed for example here Clarification of AlarmManager behavior in Android.