[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-11-17 Thread bklik
Just wanted to poke this issue. Has anything changed in the 2.0 SDK that will resolve this? On Oct 5, 1:12 pm, bklik brenton.k...@gmail.com wrote: Thanks Dianne, I'm using a wake lock to prevent it from sleeping anddimmingafter the default 30 seconds, and I'm using the brightness API from

[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-10-05 Thread Dianne Hackborn
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

[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-10-05 Thread Yusuf Saib (T-Mobile USA)
http://developer.android.com/reference/android/os/PowerManager.html#SCREEN_BRIGHT_WAKE_LOCK Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-10-05 Thread Dianne Hackborn
This actually does something different -- it prevent the screen from going into the dim right before going to sleep state. What the original posted wanted was to force the screen to be full bright (defeat the automatic brightness control, or override the user's current brightness setting), which

[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-10-05 Thread bklik
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