In my application I created the GridView
to show the image from particular folder.
The issue is that I want to retrieve images from the DCIM/100ANDRO folder.
Wh
Once check this one
File sdcardPath = new File(Environment.getExternalStorageDirectory()
.getPath() + "/100ANDRO");
Log.v(sdcardPath.getPath());
Check if this prints the correct path which you require If sdcardPath is not null then try the following logic
int imageCount = sdcardPath.listFiles().length;
for (int count = 0; count < imageCount - 1; count++) {
ImageView eachImageView= new ImageView(this);
Bitmap bmp = BitmapFactory.decodeFile(sdcardPath.listFiles()[count].getAbsolutePath());
eachImageView.setImageBitmap(bmp);