开发者

Display SD Card Data in ListView android

开发者 https://www.devze.com 2023-03-13 14:46 出处:网络
Can anybody suggest me how to show all 开发者_JAVA百科public Data in ListView format stored inmy Device\'s SD CardHow about reusing someone else\'s class so you write less code?

Can anybody suggest me how to show all 开发者_JAVA百科public Data in ListView format stored in my Device's SD Card


How about reusing someone else's class so you write less code?

http://openintents.org/en/filemanager

Third party developers can use OI File Manager through simple intents to present an "Open file", "Save file", or "Select folder" activity.

The file manager features PICK_FILE and PICK_DIRECTORY intents:

Intent intent = new Intent("org.openintents.action.PICK_FILE"); startActivityForResult(intent, 1);

You can provide a pre-selected file or folder by setting data through setData() to a file URI, like "file:///sdcard/notepad.csv". The picked file URI can be obtained in onActivityResult() through getData().

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号