Skip to content Skip to sidebar Skip to footer

Broadcastreceiver Is Not Being Called From Androidmanifest On Boot_complete In Android

In my Android application I want to run a Service without opening/running my application. For that I have extended BroadcastReciever class. But this BroadcastReceiver class is not

Solution 1:

Remove android:exported="false" from the <receiver>. That says you do not want anyone (other than yourself) sending a broadcast to this receiver. As a result, your receiver will be ignored by the system.

Beyond that, you also need an activity and to have run that activity before trying to reboot the device. You may already have that, but I thought that I would mention it for completeness.

Post a Comment for "Broadcastreceiver Is Not Being Called From Androidmanifest On Boot_complete In Android"