Getting string out of hashmap
<p>I have a really simple problem I think but just cant figure it out.</p>

<p>I want to be able to take someting out of a Hashmap but just cant get it to work.</p>

<p>Here is the code:</p>

<pre><code>try{

        JSONArray  deelnemers = json.getJSONArray("deelnemers");

        int Key = getIntent().getIntExtra("Key", -1);


            { HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();  
            JSONObject e = deelnemers.getJSONObject(Key);

            map.put("id",  String.valueOf(Key));
            map.put("name", "Naam: " +  e.getString("naamingw2"));
            map.put("sex", "Geslacht: " +  e.getString("geslacht"));
            map.put("rank", "Rang: " +  e.getString("rang"));
            map.put("picture", "http://www.de-saksen.nl/2/images/comprofiler/" + e.getString("avatar"));
            mylist.add(map);            
        }   
            String URL = new String (mylist.get("picture"));
            WebView WV = (WebView) findViewById(R.id.webView1);              
            WV.loadUrl(URL);
</code></pre>

<p>I get an compiller error at (mylist.get("picture"));</p>
