Does anybody have an answer for this?  I am looking to change the
brightness level as well.

On Oct 30, 9:44 am, Peli <[EMAIL PROTECTED]> wrote:
> It seems changing the backlight through the following code does not
> affect the lightbrightnessimmediately:
>
> Settings.System.putInt(getContentResolver(),
>             Settings.System.SCREEN_BRIGHTNESS, 255);
>
> but the change is only visible after a while (e.g. after screen dims
> and gets bright again later). It seems the Settings /
> BrightnessPreferences.java 
> (http://git.source.android.com/?p=platform/packages/apps/Settings.git;...
> ) uses IHardwareService to changebrightnessimmediately.
>
> This API is not available to us. So is there an alternative way to
> immediately force thebrightnesschange after setting it through
> Settings.System? Is there a workaround that we could use?
>
> Peli
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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