I want users to be able to control the birghtness with a slider. Please answer in the simplest way because im a noob when it comes to android.
Asked
Active
Viewed 1,482 times
1 Answers
5
Controlling the screen brightness has been through here many times, for example this post.
Now, the easiest way to get a slider control is to use the SeekBar widget, which comes pretty close. Then you just hook up the OnSeekBarChange event to your function which sets the brightness to your desired value.

Community
- 1
- 1

Mart Roosmaa
- 928
- 8
- 10
-
3because I don't have any? Besides it's your "homework" to write the final code, can't really rely on people to do your job for you. – Mart Roosmaa May 10 '10 at 00:49