On Wed, Dec 15, 2010 at 7:26 PM, Hendrik Greving <[email protected]> wrote:
> Hi. Is there a way to check if hardware support automatic brightness?

android.provider.Settings.System and SCREEN_BRIGHTNESS_MODE will tell
you if automatic brightness is enabled. I am not aware of a way to
determine if the hardware has the option, though.

> Can
> setting the system settings to auto throw an exception?

I have no idea what this means, sorry.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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