Anybody?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options,
Thank you very much, together with ACTION_SCREEN_ON it works perfectly.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
I have a service running in background that checks the orientation
sensor, I'd like it to stop checking when screen is locked as my
service does nothing useful then.
I've done this with a BroadcastReceiver which listens for
ACTION_SCREEN_OFF and ACTION_USER_PRESENT.
While the first works well, I
Hello,
I have a service which checks for changes to orientation sensor: since my
service is useless when screen is locked, to save battery I would like it to
stop checking the sensor.
I do this with a BroadcastReceiver listening for ACTION_SCREEN_OFF and
ACTION_USER_PRESENT, and it works well
4 matches
Mail list logo