2

I want to open any file like png, jpeg, pdf, doc from local system in cordova. How can I open it there is available any plugin for this. I already tried File Opener plugin but I can't open it. Thanks in advance

Krishna
  • 893
  • 1
  • 10
  • 24
  • 1
    I recently had the same issue, where as I was generating a PDF and tried to open it on either iOS or Android. Maybe you can took a look at this, Ghandi (user who gave the correct answer) has given me a lot of tips on this matter. http://stackoverflow.com/questions/37792989/render-pdf-from-html-and-show-it – Jorrex Jul 26 '16 at 12:35
  • Okay. Thank you so much for your valuable time. Let me check ie – Krishna Jul 26 '16 at 12:58
  • @Krishnavrinsoft This should get you started as Jorrex suggested - https://github.com/gandhirajan/Cordova_File_Operations – Gandhi Jul 26 '16 at 13:12
  • Thank you so much. @Gandhi Can we open PDF file in our application without open in default app of device. – Krishna Jul 27 '16 at 06:43
  • @Krishnavrinsoft Ya. Thats what file opener plugin does actually by providing you the option to select which application to open – Gandhi Jul 27 '16 at 09:58
  • But I want to open PDF in my Application means With my App header footer. and In content part PDF will display something like this. – Krishna Jul 27 '16 at 10:45
  • How are you implementing the plugin? Is this a duplicate of: http://stackoverflow.com/questions/34022359/load-pdf-from-filesystem-into-an-ionic-cordova-android-pdf-js-application – Linda Z Aug 17 '16 at 17:37

0 Answers0