Skip to content Skip to sidebar Skip to footer

Broadcastreceiver Not Working When App Is Installed On Sd Card

I am creating a EventsManager app in which i have a BroadcastReciver which executes for BOOT_COMPLETED broadcast.this receiver has been used to re-register all the events with Alar

Solution 1:

Quoting the documentation:

In order for your application to consistently behave as expected, you should not allow your application to be installed on the external storage if it uses any of the following features... The system delivers the ACTION_BOOT_COMPLETED broadcast before the external storage is mounted to the device. If your application is installed on the external storage, it can never receive this broadcast.

Hence, you cannot allow your app to be installed to external storage.

Post a Comment for "Broadcastreceiver Not Working When App Is Installed On Sd Card"