What you can do?
1st Solution----> persist alarm information in Database.
2nd Solution----> Register for the REBOOT_COMPLETED-Event and try to pass specific value.
3rd Solution----->On reboot, start a background thread that re-registers alarm.
4th--------------->As an alternative, you can register a broadcast receiver for the intent
Enjoy....
1st Solution----> persist alarm information in Database.
2nd Solution----> Register for the REBOOT_COMPLETED-Event and try to pass specific value.
3rd Solution----->On reboot, start a background thread that re-registers alarm.
4th--------------->As an alternative, you can register a broadcast receiver for the intent
android.intent.action.BOOT_COMPLETED
and check your SharedPreferences if you need to perform an action. Enjoy....
No comments:
Post a Comment