f="#WriteSharedPreference">Write to Shared Preferences</a></li>
  <li><a href="#ReadSharedPreference">Read from Shared Preferences</a></li>
</ol>

<h2>You should also read</h2>
<ul>
  <li><a href="../../../guide/topics/data/data-storage.html#pref">Using Shared Preferences</a></li>
</ul>

</div>
</div>


<p>If you have a relatively small collection of key-values that you'd like to save,
you should use the <code><a href="../../../reference/android/content/SharedPreferences.html">SharedPreferences</a></code> A