Opening local PDF and other local files

  1. 6 years ago

    I made a real simple html site, just a few test links in jQuery Mobile. There is a PDF document I created for this testing, when I click the link to open the PDF on the Android tablet it crashes and says restarting app. If I open the site before I convert it to APK it launches the PDF perfectly fine.

    Is there something special needed to open local files after its converted to APK? I really want to open PDF files but I've also attempted on .doc and .txt and got the same crashing. This is happening on more than one tablet and different operating systems.

    Current is 7.1.1

  2. admin

    13 Mar 2018 Administrator

    Did you tried to debug your apps: https://websitetoapk.com/docs/debugging-with-chrome.html

  3. 4 years ago

    Hi LarryM

    Did you find the solution? Can you share?

  4. Hi there I've an other problem when I open a PDF in Tablet.. Before with 2.2 version it was possible open a PDF with link in HTML5 "file:///storage/emulated/0/folder_name/filename.pdf" and worked perfectly....
    Now with v.3 version an upper is impossible... v.3 APK version on tablets say "Can only download and open HTTP/HTTPS"
    "Allow File Access" and "Allow Cross Origin" in extras to be able to use.. and the same in v2.2 that works
    Wich "jQuery Mobile command" you use?

 

or Sign Up to reply!