reading a specific file from sdcard in android

You are trying to read a directory… what you need is the file! Do something like this… then, you can read the file as you want.

File dir = Environment.getExternalStorageDirectory();
File yourFile = new File(dir, "path/to/the/file/inside/the/sdcard.ext");

Leave a Comment