S
S
stalker_by2012-02-23 13:32:00
Android
stalker_by, 2012-02-23 13:32:00

[Android] How to turn the screen on/off programmatically

You need to programmatically turn on / off the screen.
In theory, this advice should work: stackoverflow.com/questions/9294917/android-java-turn-screen-off
But for some reason it does not work, just nothing happens, not even errors.
App permissions enabled:
* android.permission.WAKE_LOCK
* android.permission.DEVICE_POWER

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