title: how to add several images in a listview after getting their names from the sqlite database
body: <p>i have an android application that use sqlite and after it fetch the data it must be displayed in a listview.</p>
  
  <p>my question is how to display images?</p>
  
  <p>can anyone help me ???</p>
  
  <h1>this my code</h1>
  
  <p><strong>//but here it display the same image for the hall list how to display each image in its right place ??</strong> </p>
  
  <pre><code>for (int i = 0; i &lt; 49; i++) {
  
  
              ImageView imagenow = (ImageView) convertView
                      .findViewById(R.id.imageView1);
              // flag1
              int imageid = context.getResources().getIdentifier("brazil_flag",
                      "drawable", context.getPackageName());
  
              imagenow.setImageResource(imageid);
          }
  </code></pre>