tags:

views:

47

answers:

1

How can we turn automatic brightness off in android?

+2  A: 
Settings.System.putInt(getContentResolver(), 
    SCREEN_BRIGHTNESS_MODE, SCREEN_BRIGHTNESS_MODE_MANUAL);
Dusty
thanx Dusty to get idea i have done like this Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS_MODE, Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); and got right result
shripal
No problem. You may want to accept the answer so anyone running across it will know it's been answered and not have click to see. Welcome to SO.
Dusty