getResources().getIdentifier problem
<p>In one activity, there are 1 text view and 1 image view. I have to display number of data for different images. I have stored the data in string-array in strings.xml. My code is working fine for them. Problem is with images. I have stored images in R.raw folder. How can I get the images in image view so that for every data corresponding images can be displayed.</p>

<p>In the listactivity(where the data are displayed in a listview i have added async task and in doinbackground i am loading values from these arrays ). I am stuck in images. How to do that? pls help...</p>

<p>started like  this,</p>

<pre><code>int image[]= {getResources().getIdentifier("aa", "raw", getPackageName()),

    getResources().getIdentifier("bb", "raw", getPackageName()),
    getResources().getIdentifier("cc", "raw", getPackageName()),};
</code></pre>

<p>Pls reply..
Many Thanks       </p>
