getting images from external sd card folder and displaying them in a list
<p>Im trying to get images from a particular folder inside the external <code>SD card</code> and trying to show them inside a list when im running the app. No error provided, nothing happens. Just a blank page any suggestion.</p>

<p>i'm getting the list of images with the extension but how can i view the images!   </p>

<pre><code> @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);


        File file = new File("/sdcard/external_sd/folder_name/");

        File imageList[] = file.listFiles();
        ArrayList&lt;Bitmap&gt; images = new ArrayList&lt;Bitmap&gt;();
        for(int i=0;i&lt;imageList.length;i++)
        {
            Log.e("Image: "+i+": path", imageList[i].getAbsolutePath());

            Bitmap b = BitmapFactory.decodeFile(imageList[i].getAbsolutePath());

            images.add(b);

        }
         setListAdapter(new ArrayAdapter(this,
                android.R.layout.simple_list_item_1,imageList));
    }
</code></pre>
