*How to change brightness:*
1) android.provider.Settings.System.putInt(getContentResolver(), 
SCREEN_BRIGHTNESS, 255))
Disadvantages:
#1 Need to turn off and then turn on my screen (Samsung i5700 Spica) to 
"apply" the changes.
#2 Doesn't allow set value below 13 (10?).

2) WindowManager.LayoutParams.screenBrightness = 1f;
Disadvantages:
#1 Sets brightness for current window only.


*What I'd like to have:*
#1 Change system (not current screen) brightness.
#2 Change system brightness 0 - 100% (0-255, whatever).


Are there any ideas?


P.S.
I hail the auto-brightness and whatever Google is trying to achieve with all 
this brightness-mess, but...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to