Привет, я новичок в программировании Android, может кто-нибудь сказать, пожалуйста, как получить доступ к файлам в каталоге, я использую метод Environment.getExternalStorageDirectory ()?
Этот метод просто возвращает файл java.io.File, поэтому вы должны иметь возможность получать файлы, используя стандартные методы Java:
String[] list(); //Returns an array of strings with the file names in the directory represented by this file. String[] list(FilenameFilter filter); //Gets a list of the files in the directory represented by this file. File[] listFiles(FileFilter filter); //Gets a list of the files in the directory represented by this file.
(http://developer.android.com/reference/java/io/File.html)