open pdf using jquery-mobile

Thread is closed for posting
2 posts, 0 answers
  1. Aman
    Aman avatar
    4 posts
    Member since:
    Oct 2013

    Posted 26 Dec 2013 Link to this post

    How to open  pdf file on the device using jqurey-mobile. I have tried the sample code given on icenium website for the same but it is not working on device.
  2. Pavel Kolev
    Pavel Kolev avatar
    26 posts

    Posted 27 Dec 2013 Link to this post

    Hello Aman,

    We've prepared and attached a sample project that I've tested with .pdf, docx, pptx, mp3 and mp4 file. Note that if you want to view external PDF file we are using the Cordova FileTransfer API to copy the file locally on the device and then open it with an app associated with this extension.

    Be sure to change the URL, to the one you would like to test. There shouldn't be spaces in the path/filename of the PDF i.e. the one you provided would fail to open due to the space.

    Pavel Kolev
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top