Image content of HashMap won't appear
<p>So i come up with this code     </p>

<pre><code>Map&lt;Integer, Integer&gt; images = new HashMap&lt;Integer, Integer&gt;();       
    images.put(1,R.drawable.a);     
    images.put(2,R.drawable.b);      
    images.put(3,R.drawable.c);

String[] abcd = {"a","b","c"};
    Integer count = 3;
    for(int inte = 0; inte==count;inte ++ ){
        if(strn.get(inte).equalsIgnoreCase(abcd[inte])){        
             image.setImageDrawable(getResources().getDrawable(images.get(inte)));          
        }
    }
</code></pre>

<ol>
<li>to put images from drawables to hashmap with integer keys</li>
<li>i made an array[] to compare with user input,a for loop to traverse with the content of hashmap and </li>
<li>to display the image if the condition is true.</li>
</ol>

<p>this is the insight of what i want to be done but...
now my problem is that the image wont appear prior to my code. i think my question is a bit similar to <a href="http://stackoverflow.com/questions/3871366/how-can-i-loop-thorugth-a-hashtable-keys-in-android">loop through hashtable</a>, or <a href="http://stackoverflow.com/questions/6036413/cant-see-the-contents-of-the-hashmap">Can't See Contents</a> and notice <code>Enumeration</code>, <code>Iterator</code> but can't manage to apply them in my code. can somebody guide me or any suggestion will be fine to solve my problem.</p>
