R
R
Razangann2014-03-03 19:27:17
Android
Razangann, 2014-03-03 19:27:17

How to programmatically turn off the screen?

Good afternoon!
Tell me, please, how can I programmatically (through activation) turn off the screen?
Only this method KeyguardManager.KeyguardLock could be found, but it is deprecated.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question