Generating and saving PDFs on Android

How to create a PDF for the visible DOM elements using the jsPDF library..

To generate and save pdf's on Androids you will need:

  • Blink Android app shell version 1.1.0 or greater
  • Add jsPDF and html2canvas.js as external JS in answerSpace setup.
  • Add the example code below to your answerspace

 Examples #

To generate and save a pdf to the device you need to add this code to your answerSpace .