There is a field in WindowManager.LayoutParams that lets you force a
particular brightness for your window.  This is currently broken on Droid if
auto brightness is enabled (because of conflicts between the framework and
underlying driver doing the brightness adjustment), but should be fixed in
an update.

On Tue, Nov 24, 2009 at 7:35 AM, bklik <[email protected]> wrote:

> Yes, I meant programmatically.
>
>
> On Nov 23, 1:36 pm, Wes <[email protected]> wrote:
> > @Dianne: my assumption was that he meant programmatically.  Is that
> > available?
> >
> > On Nov 23, 1:08 pm, Dianne Hackborn <[email protected]> wrote:
> >
> > > Go to the screen settings and turn it off.
> >
> > > On Mon, Nov 23, 2009 at 7:01 AM, Wes <[email protected]> wrote:
> > > > Good question.  I'd like to know too because I find the placement (or
> > > > actions) of the ambient light sensor to be arbitrary and erratic :-/
> >
> > > > On Nov 23, 8:40 am, bklik <[email protected]> wrote:
> > > > > Has a way been added to the Android 2.0 SDK to disable auto dimming
> on
> > > > > the Motorola Droid?
> >
> > > > > Brenton
> >
> > > > --
> > > > 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]<android-developers%[email protected]>
> <android-developers%[email protected]<android-developers%[email protected]>
> >
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > 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, and so won't reply to such e-mails.  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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
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, and so won't reply to such e-mails.  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