You can use BitmapFactory to open these image files. You may try:
- decodeFile(String pathName)
If there is a problem with the extension, try decodeStream (InputStream is) , it will get an InputStream , and it should work.
You can specify the folder with the file:
File f = new File(Environment .getExternalStorageDirectory() .getAbsolutePath()); File[] files = f.listFiles(); for (File file : files){ //Do something with this file }
source share