Special JS Functions for open PDF

  1. 4 years ago

    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
    So i know that 3.4 use special JS Functions...
    Is there a function for open a PDF file in the tablet local storage?
    for example similar to:
    <script>
    Website2APK.openExternal("file:///storage/emulated/0/folder_name/filename.pdf");
    </script>
    Thanks

 

or Sign Up to reply!