How to run a thread in background, after the device is rebooted. I’m trying to re schedule the alarm using alarm manager after the device is rebooted. But miserably it is ringing once after reboot and the scheduled alarms are cleared after reboot. so i’ve to make a thread run in background service that re-schedules the alarm taking the time from the database. How to achieve it? any help is highly appreciated and thanks in advance…
Share
You can listen for a reboot event by setting up BroadcastReceiver for ACTION_BOOT_COMPLETED