For example I have an app that counts how many time Camera button was pressed. After locking the screen the app is not working, so is there any way to keep counting presses when screen is locked?
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.
Running Apps and services are pause when the phone is locked, but you can acquire WAKE_LOCK key and do your task
this will hold the CPU open even if the screen off