0

I want to increase brightness, when user open my app. I got the code from following link :

Changing screen brightness programmatically (as with the power widget)

But it is not working. Is it require some permission? I had added WRITE_SETTINGS permission also. Still it not work.

So, anyone can help me? Is it possible to increase brightness from app?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Naitik Kundalia
  • 199
  • 1
  • 1
  • 19
  • Possible duplicate of [Changing screen brightness programmatically (as with the power widget)](https://stackoverflow.com/questions/7646865/changing-screen-brightness-programmatically-as-with-the-power-widget) – B001ᛦ Nov 10 '17 at 15:16
  • this should solve your problem. https://stackoverflow.com/questions/18312609/change-the-system-brightness-programmatically – TomD Nov 16 '17 at 00:24

0 Answers0