I am trying to send a Broadcast from a service out to an Activity. I can verify the broadcast is sent from within the service, but the Activity doesn\'t pick up anything.
Try this two things:
I'm not sure if it is specific to the set up, or if it is a fix in general, but moving the register/unregister
to the onResume/onPause
_respectively_
and not registering in the onCreate
solved the problem for me.
Inner class broadcast receiver will not be able to handle broadcast(means it unable to locate that class ). So make it as a separate class
Definitely it will work.