Search code examples
androidbrightness

android :: using Android's Brightness control interface from activity


In my application i need to change the screen brightness. I want to display Android's internal brightness control dialog box (which is being displayed when we select Settings->Sound and display -> brightness) to be displayed when user clicks brightness button in my activity.


Solution

  • You can't do this. The best you can do is launch the Sound and display panel with the intent action defined in android.provider.Settings