Is it possible to make continuously unlocked the screen when our application is running.
Is it possible to make continuously unlocked the screen when our application is running.
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.
You can use WakeLock. But it’s not a good solution because you have to acquire and release it manually. And AFAIK it requires a permission. The better solution is to use
android:keepScreenOn="true"for a view which requires screen to be on.