Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Alan_A_1
Beginner
513 Views

How to open a PDF file created with JSPDF

Hi, I did a web app that creates and open a pdf file, now when I try to convert it to an Android app with Intel XDK, it seems that creates the pdf but when opens a new window nothing is shown.

I included the file, file transfer and in-app browser plugins but nothing

I saw this post: http://stackoverflow.com/questions/30345264/open-a-pdf-in-a-modal-using-intel-xdk

But the answer is not useful

What I want is that when I open (NOT SAVE) the pdf file Android show me the "Open with..." window so I can choose if open it with Adobe Reader or Epson IPrint or another app.

This is the jspdf function to open the pdf file:

            function show(){
                doc.output('dataurlnewwindow');
            }

Thanks.

Ps: I tested with the emulator and device but nothing and my version of Intel XDK is 3522

 

Tags (2)
0 Kudos
1 Reply
PaulF_IntelCorp
Employee
513 Views

What you need to do is open another app and give it that file. There are some plugins out there that may help, I cannot vouch for how well they do or do not work, but here's one that I found > https://github.com/lampaa/com.lampa.startapp < you should look for others that provide similar functionality before committing to just one.

Reply