Thursday, October 11, 2012

[android-developers] Shared Preferences

Hi, what is the difference betweent PreferenceManager.getDefaultSharedPreferences and getSahredPreferences(String name, int mode) ?

I thought that the defaultSharedPreferences are someting like global preferences that every application can manipulate. So lets say that I can call a preference from another application in my own application, and even change it.
And the getSharedPreferences are preferences that I can only use in my application.

Thats just what I thougt it is...but I'm not sure.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate