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 <brenton.k...@gmail.com> wrote:

> Yes, I meant programmatically.
>
>
> On Nov 23, 1:36 pm, Wes <wes.beli...@gmail.com> wrote:
> > @Dianne: my assumption was that he meant programmatically.  Is that
> > available?
> >
> > On Nov 23, 1:08 pm, Dianne Hackborn <hack...@android.com> wrote:
> >
> > > Go to the screen settings and turn it off.
> >
> > > On Mon, Nov 23, 2009 at 7:01 AM, Wes <wes.beli...@gmail.com> 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 <brenton.k...@gmail.com> 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
> android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com>
> >
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
> >
> > > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to