You -should- be able to through the normal API, setting the brightness of
the screen for the window.  However, I know of at least one upcoming device
where this won't work when auto-brightness is turned on, and Hero may have
that same problem.  For the device I know of, we need to do some work in the
platform to better integrate with the manufacturer's auto-dimming code, so
hopefully this will only be a temporary problem.

On Mon, Oct 5, 2009 at 6:54 AM, bklik <brenton.k...@gmail.com> wrote:

>
> I'm getting a lot of requests by users of my flashlight application,
> that they want me to disable the HTC Hero's automatic dimming feature
> that works off the light sensor.
>
> How do you disable it through code?  Or, isn't there a way?
>
> Brenton
> >
>


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