ll methods such as <code><a href="../../../reference/android/content/SharedPreferences.html#getInt(java.lang.String, int)">getInt()</a></code> and <code><a href="../../../reference/android/content/SharedPreferences.html#getString(java.lang.String, java.lang.String)">getString()</a></code>, providing the key for the value
you want, and optionally a default value to return if the key isn't
present. For example:</p>

<pre>
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
int d