2010-05-24 130 views

回答

1

使用普通的Java文件IO操作(请参阅class-documentation

这里是伪代码:

String pathToSdCard = Environment.getExternalStorageDirectory().getAbsolutePath(); 
new File(pathToSdCard).list(); 
0

我已经张贴了这个在另一页上。它的答案很晚,但我最近在创建一个android文件浏览器。 https://github.com/mburman/Android-File-Explore

它的确很简单。本质上,它只需要将1个文件集成到您的应用程序中。