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 !

  Frank






> >



Other Threads

1. Build environment for .APK

Hi all,
Greetings!!!!

I have an requirement of providing a .apk file from .c file.
I have installed SDK starter package to my linux PC.

Is there any document to do this task?

regards,
-Nagesh A

-- 

2. LocationListener not triggering onLocationChanged when Listener is reset.

Hi all,

I was playing around with the GPS location on my Android.  What I'm
trying to do was make a toggle button that can turn it on and off.

When I turn it on, I'll set my LocationListener to the request
location updates call.

When I turn it off, I'll remove location updates and pass in my
LocationListener.

The problem I'm seeing though is that this works fine the first time,
but after turning it off and then turning it on again the GPS does
start up and update locations but the onLocationChanged is no longer
called.

I was also trying to create a routine to save battery life by changing
the time "hint" between updates if the location is relatively static
for a while.  But again, onLocationChanged no longer gets called if I
remove location updates and then request location updates again with
the same location listener (it's a static LocationListener).

Wondering if anyone else came across this?

-- 

3. Snmp Query

4. How can I use the MediaScannerService to scan a video on the network

5. Table tag in html content cannot be loaded by webview(witch WebView.loadData)?

6. Android App login

7. Java Script alert not working in Android WebView