FORUMS

[Q] Question regarding sensors and java implementation

79 posts
Thanks Meter: 10
 
By alex-p690, Member on 16th May 2014, 09:46 PM
Post Reply Subscribe to Thread Email Thread
Hi guys,
I need my app to check if the phone face is covered when the screen unlocks.
I've acomplished this by creating a service to get datas from the proximity sensor. The problem is that it isn't energy efficient as the proximity sensor is checking non-stop until the screen is turned on.
Is there any better way to accomplish this or other sensor to use just to verify if the phone is covered by the moment when the screen is turned on?
Thanks!
 
 
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes