Settings are stored in a lot of different places, depending on what they are. It is done for access control reasons (the settings db is word readable, but some things should not be accessible to everyone), convenience (specific internal settings for a particular component), and other reasons such as sharing access with native code.
On Thu, Apr 15, 2010 at 10:53 PM, Abhinav <[email protected]>wrote: > I was exploring the settings application in android and found that the > system settings were getting stored in two places, one in settings.db > database and the other in settings_preferences.xml file > > Most of the settings are persisted in the database while a few are > persisted in a shared preferences file. > > Any idea why this is done? Why not persist everything in the database? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

