PDF Support

Kiosk Browser includes PDF support (v2.5.9 and up) by utilising the JavaScript library PDF.js. PDFs can be loaded either from a local file or remote web server, for example any of the following would work:

<a href="pdf-test.pdf">Test PDF (local)</a>
<a href="file:///storage/emulated/0/kioskbrowser/localcontent/pdf-test.pdf">Test PDF (local full path)</a>
<a href="http://www.android-kiosk.com/pdf-test.pdf">Test PDF (remote)</a>

Running v2.5.6 or lower?

Kiosk Browser includes basic PDF reading support by utilising the online Google Docs Viewer. This means your device must have access to the internet and the PDF must be externally hosted. Opening local PDF files is not supported.

Using the whitelist feature?

If you are using the whitelist feature you may need to whitelist the PDF reader URL.

v2.5.9 and up - file:///android_asset/pdf/

v2.5.6 or lower - docs.google.com/viewer,docs.google.com/gview

This article was helpful for 7 people. Is this article helpful for you?