With the release of Gingerbread, I have been experimenting with some of the new API\'s, one of them being StrictMode.
I noticed that one of the warnings is for
i do not see any reason to read them from a background thread. but to write it i would. at startup time the shared preference file is loaded into memory so its fast to access, but to write things can take a bit of time so we can use apply the write async. that should be the difference between commit and apply methods of shared prefs.