D
D
Dmitry2015-10-08 14:09:19
Java
Dmitry, 2015-10-08 14:09:19

Android. How to turn off the backlight of the screen without going into sleep mode?

Hello!
It is necessary that the screen is dead after 10 seconds of inactivity, but does not go into sleep mode, the application works with NFC. When you present the card, you need the screen to light up and show the information. When going to sleep, NFC becomes inactive.
How to turn off the backlight of the screen without going into sleep mode? Or suggest another way.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2015-10-08
@aol-nnov

you need to capture WakeLock

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question