Reputation: 435
Im working a small app that would access photos from a phone, I follow the direction located on the cordova website http://cordova.apache.org/docs/en/3.0.0/cordova_file_file.md.html#File I already installed the plugin but when I click the button to choose a photo nothing happens.
THis is how my config.xml looks:
<feature name="File">
<param name="android-package" value="org.apache.cordova.file.FileUtils" />
<param name="onload" value="true" />
</feature>
<feature name="FileTransfer">
<param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer" />
</feature>
AndroidManifiest.xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Upvotes: 0
Views: 1205
Reputation: 141
What you need is a FileChooser plugin. The File plugin doesn't invoke any UI to let you choose file. https://www.google.com.au/search?q=Filechooser+cordova
Upvotes: 1