cordova_fileChooser

时间:2021-05-15 06:35:35
【文件属性】:
文件名称:cordova_fileChooser
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-15 06:35:35
Java 科尔多瓦文件选择器插件 该插件返回从filemanager中选择的文件路径并获取文件大小。 使用 创建一个新的Cordova项目 $ cordova create hello com.example.helloapp Hello 安装插件 $ cd hello $ cordova plugin add https://github.com/Manishkotian/cordova_fileChooser.git 编辑www/js/index.js并在onDeviceReady内添加以下代码 hello . fileChooser ( function success ( path ) { console . log ( "success--file path->" + path ) ; } , function failure ( err ) { console .
【文件预览】:
cordova_fileChooser-master
----www()
--------hello.js(471B)
----package.json(410B)
----src()
--------android()
--------.DS_Store(12KB)
----plugin.xml(1KB)
----README.md(789B)

网友评论