• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Change android system settings by code.

c2tarun

Newbie
Hi friends,

Can anyone tell me about some tutorial for changing android system settings by code.
System Settings like:
Ringtones
Vibration
Volume
Brightness
etc

If anyone please tell me the names of the classes in which I have to look into, it will also be helpful.

Thanks
 
have you tried the Settings.System class ? Or this one : Can I update an Android provider.Settings.System value?


I tried using Settings.System and changed SCREEN_BRIGHTNESS value to the value of a seek bar. But the problem is value is not changing as I am changing the value from seek bar. It is changing after the application is getting closed and mobile is getting locked, and when I am unlocking the phone, I am seeing the new brightness.
Why so?
 
Back
Top Bottom