when use getDefaultSharedPreferences and getSharedPreferences
<p>I just curious. There are 3 method:</p>

<pre><code>1. getPreferenceManager().setSharedPreferencesName(String PrefName);

2. PreferenceManager.getDefaultSharedPreferences(Context context)

3. Context.getSharedPreferences (String name, int mode)
</code></pre>

<p>As I know, the third method is only used when the first method is used, right?
But with 3 method we also use <code>addPreferencesFromResource(int resID)</code>;
so, what is the difference? When can we use one of these method?
Thanks!</p>
