Changing settings\Display Settings\Animation

kanaida

Active Member
Licensed User
Longtime User
Does anyone know how to set these things programmatically without requiring the user to view and click on stuff himself?

I'm trying to change the animation level with a spinner in my activity from "All Animations" to "Some Animations"

These things must be stored somewhere no? possibly an SQLite db or xml file? or settable by some os command or api function?
 

rfresh

Well-Known Member
Licensed User
Longtime User
Yes, you can change things like screen brightness through code...is that what you mean?
 
Upvote 0

kanaida

Active Member
Licensed User
Longtime User
Yes, you can change things like screen brightness through code...is that what you mean?

Yes. Animation has 3 settings, All, Some and None.

I just want to make a combobox in my app to directly set it instead of opening up the settings page and telling them to do so
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
Yes, you can do that...and use TextReader to save the data in a file. Pretty easy to do.

What system things do you want to change?
 
Upvote 0

kanaida

Active Member
Licensed User
Longtime User
Thanks, specifically what i mentioned above... The Settings\Display\Animation setting [No Animations, Some animations, All animations]

If looked under /data/data/com.android.settings to see if it's in some xml file or sqlite, but nothing. Strange because it does seem to have other settings from the same settings page in there. Just not that one.
 
Last edited:
Upvote 0
Top