android - BroadcastReceiver and screen off -



android - BroadcastReceiver and screen off -

i have service sends message when been destroy broadcastreceiver declared in fragment.

when screen on works fine , if screen turns off service sends message broadcast, never receives it

my code

thanks!

try not unregistering on onpause() method

android broadcastreceiver fragment screen

Comments

Popular posts from this blog

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -