How to write the code for file chooser in phonegap ?. My requirement is like if the User contain multiple pdf reader then we need show the list which the user contain. if he has only one then open the pdf.
Asked
Active
Viewed 67 times
0
-
Maybe this can help you? [http://stackoverflow.com/questions/23868323/how-to-pickchoose-multiple-files-at-the-same-time-in-phonegap][1] [1]: http://stackoverflow.com/questions/23868323/how-to-pickchoose-multiple-files-at-the-same-time-in-phonegap – Artur Peniche Apr 21 '15 at 10:22
1 Answers
0
There are a few file opener plugins http://plugins.cordova.io/#/package/fr.smile.cordova.fileopener
http://plugins.cordova.io/#/package/org.vaadin.alump.openfile
and even inAppBrowser might work with _system param: window.open('path/to/yourFile/file.pdf', '_system');
http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser

jcesarmobile
- 51,328
- 11
- 132
- 176