I have boot loader listener. But After user install the application my listener does not start until first boot-up. is there any way to check whether my listener running or not?
I have boot loader listener. But After user install the application my listener does
Share
If you added a receiver for
android.intent.action.BOOT_COMPLETEDthat will be broadcasted after the boot is completed.It won’t be executed after the application is installed, and there i no method to get your app start automatically after install, the user must explicitly click on it.
Restart your phone and if you get the listener right, it works. To check maybe add some code to the listener, probably should start a
ServiceorActivityor raise aToast