Page 1 of 1

How turn off Nano Pc T2 display

Posted: Wed Sep 23, 2020 11:02 am
by LELLO_1964
Hello,

i have a Nano Pc T2 Android 7.1.2

There is a way to turn display on and Off via android Studio ?

Thanks for help

Raffaele

Re: How turn off Nano Pc T2 display

Posted: Fri Sep 25, 2020 4:16 am
by v8dave
You can use a wakelock to turn on the screen but to turn it off will require system app access using the system keys to build your app.

Loads of stuff here about what you are trying to do but the system app is the only real way.

https://stackoverflow.com/questions/956 ... mmatically