I am developing one application in which I need to reset alarms after rebooting the device. The code is working fine in Emulator but on my mobile device which is having Android version 4.2.2 is not working.
I have set a notification on start up, the notification is shown when I run it on Emulator but not on my device.
Please help!
Some devices (mostly HTC) has a feature called fast reboot which doesn't trigger BOOT_COMPLETED. Instead they trigger QUICKBOOT_POWERON. So you need to register a recever for both broadcasts.
<action android:name="android.intent.action.QUICKBOOT_POWERON" />