title: How to store HashMap on Android?
body: <p>So, I'm trying to store <code>HashMap</code> on Android. I think it's better to use <a href="http://developer.android.com/guide/topics/data/data-storage.html#filesInternal">internal storage</a>, but I don't understand <em>how to save</em> <code>HashMap</code> in it <em>and then read it later</em>. Can someone explain how to do that properly, please?</p>
  
  <p>There are counters with their own names and values. I want to load them onсe when some activity was started, work with them (change, delete, add new), and then save that data to use next time. Right now I use HashMap because it's easy to delete/add values.</p>
  
  <pre><code>HashMap&lt;String, Integer&gt; counters;
  </code></pre>