Settings application

by Abhinav » Sat, 17 Apr 2010 06:16:27 GMT

Sponsored Links
 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?


Settings application

by Dianne Hackborn » Sat, 17 Apr 2010 06:26:50 GMT

 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.


Sponsored Links

Settings application

by FrankG » Mon, 19 Apr 2010 16:30:18 GMT

 Hello Dianne,

Can I read somewhere more about this handling of system settings and
how is it designed ?

Thanks  alot !


> >

Other Threads

1. RemoteCallbackList.getBroadcastItem(int) sometimes returns null

The callbacks are just stored in a HashMap, and the entries there are never
set null (actually that field is final), so I don't really see how that can
happen.  Are you sure you aren't potentially doing this loop from different
threads without doing your own synchronization?

On Thu, Mar 12, 2009 at 6:07 PM, Streets Of Boston


2. Status of VisioConference on android

Hi Sorry if this has been discusses a lot already.

I wanted to know what is the status of GPL'ed libs for Visio over SIP
or XMPP on android.

It seems to me that xmpp is only used for text right now and not for
voice ?



4. Paid Apps in Canada

5. Real cost of Android Market: a case for third party

6. Can Android interface with USB devices?

7. ImageView.SetImageUri