https://github.com/spongebobsun/filepicker
File Picker for Android
https://github.com/spongebobsun/filepicker
Last synced: 9 months ago
JSON representation
File Picker for Android
- Host: GitHub
- URL: https://github.com/spongebobsun/filepicker
- Owner: SpongeBobSun
- Created: 2015-08-16T12:29:39.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T11:39:14.000Z (almost 11 years ago)
- Last Synced: 2025-03-14T05:11:16.594Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 566 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#FileChooser
FileChooser is a file picker module for android developers.
##Project Status
Almost there.
##Project Structure
The whole project is a test project.
The module is located in `filechooser` folder.
FileChooser module contains an file chooser activity which can select multipule files and return the result after the activity is finished.
##Usage
* To start file chooser activity, use below code.
Intent intent = new Intent();
intent.setAction("sun.bob.open_filechooser");
startActivityForResult(intent, 0);
* To get result from FileChooserActivity, use below sample to code your `onActivityResult` method.
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data){
if (resultCode == RESULT_OK){
ArrayList files = data.getStringArrayListExtra("files");
}
}
##Screenshot
