FileInputStream iStream = new FileInputStream(path);
一只名叫tom的猫
浏览 733回答 2
2回答
繁星淼淼
您正在尝试读取目录...您需要的是文件!做这样的事情...然后,您可以根据需要读取文件。File dir = Environment.getExternalStorageDirectory();File yourFile = new File(dir, "path/to/the/file/inside/the/sdcard.ext");