Create PDF and save to mobile device JQM project

I have created PDF using
Step1 :

Step 2: console.log("generating pdf...");
var doc = new jsPDF();
doc.text(20, 20, 'HELLO!');

doc.text(20, 30, 'This is a PDF document generated using JSPDF.');
doc.text(20, 50, 'YES, Inside of PhoneGap!');'test.pdf');

Step3: This works in browser and does not work while testing in Tester APP. It does not work in mobile device.

Please suggest some solution.

Thank you
1 person has
this question