is there a change that i can get value from my phone’s sensor when it is in sleep mode?
If it can, which android version can do that?
Thank you.
is there a change that i can get value from my phone’s sensor when
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume that you can do so if your application is a background service which means can run even if it’s not foreground you can keep track of accelerometer.
Even if the phone is in standby mode you just need to write your application as a service which is running as a background process and tracking the accelerometer sensor by doing so.