Skip to content
Advertisement

Tag: screen-brightness

Change the System Brightness Programmatically

I want to change the system brightness programmatically. For that purpose I am using this code: because I heard that max value is 255. but it does nothing. Please suggest any thing that can change the brightness. Thanks Answer You can use following: In your onCreate write: Write the code to monitor the change in brightness. then you can set

Advertisement