I’m trying to create an application always active (ie never goes in the background), with a button that when is pressed reduces the screen brightness. I state that I’m no expert in programming in Android.
I’m trying to create an application always active (ie never goes in the background),
Share
You can set screen BRIGHTNESS o button click as:
FIRST WAY:
Manifest.xml
SECOND WAY:
AndroidManifest.xml:
and finally for other way to set brightness see this post