I fear it does not exist yet, but I don't have too much insight. Maybe
someone from Google can comment on this?

Peli

On 15 Jan., 02:13, birdy <[email protected]> wrote:
> Dear Peli:
>
> Can you tell us the new API's name? Does this new API will be used in
> BrightnessPreference.java in android's setting function?
>
> On 1月13日, 上午2時23分, Peli <[email protected]> wrote:
>
> > > Note that this code is not using the SDK, and will break in a future
> > > release.
>
> > .. but hopefully only after a proper public API has been included for
> > this feature. Otherwise there will be no more Flashlight application
> > on the Market...
>
> > Peli
>
> > On Jan 12, 7:09 pm, "Dianne Hackborn" <[email protected]> wrote:> Note 
> > that this code is not using the SDK, and will break in a future
> > > release.
>
> > > On Sun, Jan 11, 2009 at 9:35 PM, birdy <[email protected]> wrote:
>
> > > > Hi all :
>
> > > > I have not test yet but I think this API
> > > > IHardwareService.setScreenBacklight(brightness) is available now.
> > > >http://www.androidjavadoc.com/1.0_r1_src/android/os/IHardwareService....
>
> > > > On 2008年12月24日, 上午6時23分, Daniel <[email protected]> wrote:
> > > > > Yes, does anybody have an answer for this?? thanks
>
> > > > > On Dec 9, 7:46 pm, junker37 <[email protected]> wrote:
>
> > > > > > Does anybody have an answer for this?  I am looking to change
> > > > thebrightnesslevel as well.
>
> > > > > > On Oct 30, 9:44 am, Peli <[email protected]> wrote:
>
> > > > > > > It seems changing thebacklightthrough 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
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support.  All such questions should be posted on public
> > > forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
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