Thanks Dianne,

I'm using a wake lock to prevent it from sleeping and dimming after
the default 30 seconds, and I'm using the brightness API from Android
1.5 to adjust brightness.  It looks like the HTC Hero is experiencing
the problem you are talking about.

Thanks for getting back to be so quickly.

Brenton

On Oct 5, 12:39 pm, Dianne Hackborn <[email protected]> wrote:
> 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 <[email protected]> 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
> [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