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 -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

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