On Tue, Nov 30, 2010 at 9:57 AM, TreKing <[email protected]> wrote:
> On Thu, Nov 25, 2010 at 10:15 PM, Mahendra Liya > <[email protected]>wrote: > >> I am trying to implement a functionality in one of my application >> which allows the user to change the screen brightness. I implemented >> it by using the Settings.System class (putInt / getInt methods). >> > http://tinyurl.com/3486vs3 > Actually that's a funny search. The top link is using private APIs, which don't work today, and only sometimes worked in the past: http://www.tutorialforandroid.com/2009/01/changing-screen-brightness.html The correct approach can be found farther down: http://androidforums.com/application-development/10993-change-brightness-donut.html This person however is complaining that it doesn't work... but it certainly does on the base platform. -- 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

