Skip to content Skip to sidebar Skip to footer

Broadcastreceiver In Case Of Android Device Switched Off And On Not Working

I am using broadcast receivers for performing some action when the device is switched off and switched on again,but they are not working.These are the receivers in manifest file:

Solution 1:

Be sure to request the RECEIVE_BOOT_COMPLETED permission in your manifest:

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

Post a Comment for "Broadcastreceiver In Case Of Android Device Switched Off And On Not Working"