在我的應用程序中,我想從SD卡上傳文件到我的服務器。對於我想打開文件選擇對話中的所有文件包含SD card.Please任何一個可以幫助我該怎麼做 我試過的東西如何在Android中打開所有SD卡文件?
Intent intent = new Intent();
// intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,"Select Picture"), SELECT_PICTURE);
它僅打開圖像文件,但我想所有的文件
哪種類型的文件?圖像,視頻或其他? – user370305 2012-04-11 05:16:25
所有文件(.pdf,.doc,.ppt,.mp4等...) – Krishna 2012-04-11 05:19:56
稍遲,但有一個[文件選擇器](http://code.google.com/p/android-filechooser /)... – 2013-02-03 01:41:35