3.0.0 • Published 4 years ago
com.pdl.cordova.filechooser v3.0.0
Cordova FileChooser Plugin
Requires Cordova >= 2.8.0
Install with Cordova CLI
$ cordova plugin add https://github.com/ajidwip/cordova-filechoser.git
Install with Plugman
$ plugman --platform android --project /path/to/project \
--plugin https://github.com/ajidwip/cordova-filechoser.git
API
fileChooser.open(successCallback, failureCallback);
The success callback get the uri of the selected file
fileChooser.open(function(uri) {
alert(uri);
});
Screenshot
TODO rename open
to pick, select, or choose.