title: android get value of HashMap array
body: <p>Im trying to get value of Hashmap array but im getting index/key.</p>
  
  <pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; menuItems = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
  </code></pre>
  
  <p>Code how i get values from parser</p>
  
  <pre><code> HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
  Element e = (Element) nl.item(i);
  map.put(KEY_LAT, parser.getValue(e, KEY_LAT));
  map.put(KEY_LON, parser.getValue(e, KEY_LON));
  map.put(KEY_NAME, parser.getValue(e, KEY_NAME));
  menuItems.add(map);
  </code></pre>
  
  <p>Then i try get values but i receive index. </p>
  
  <pre><code>for (int i = 0; i &lt; menuItems.size(); i++){
          int latitude = Integer.parseInt(KEY_LAT);
          int longitude = Integer.parseInt(KEY_LON);
          itemizedOverlay.addOverlayItem(latitude, longitude, KEY_NAME, makerDefault);
      }
  </code></pre>
  
  <p>How to get value from menuItems array ?
  In other activity i get values but there is used through TextView. Is there other way ?</p>