Hi All,

In Android SDK there is a public API that sets the screen back light
brightness, I wrote a test application and install it on G1.

After calling the public API, the brightness is not changed, instead
we must reboot the phone, after rebooting, the screen brightness is
changed.

The public API is: Settings.System.putInt(getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS, 200);

If we want to change brightness really, we must call another non-
public internal API IHardwareService.setBlacklights().

I am wondering that putInt() should change the real hardware value,
but it does not. Is it the intent of Google?

Are the putInt/putString/putXXX() really supposed to be public APIs?

Thanks
Tim
Intel Software Services Group (SSG)

--~--~---------~--~----~------------~-------~--~----~
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