let me clarify.

once a user click on the help button, it downloads a fresh copy from my server using tsnet.

after that i copy it to the folder on the sdcard.

then launch it.

Android can ask how you want to open it, it can be simply done in Chrome.

when closing Chrome then it goes auto back to my app. (probably because that was the one which launched Chrome

Op 5-2-2020 om 20:44 schreef JJS via use-livecode:
 launch url "file:/mnt/sdcard/help.pdf"

Groetjes,

Jerry

Op 5-2-2020 om 19:15 schreef Klaus major-k via use-livecode:
Hi all,

Am 05.02.2020 um 19:05 schrieb Eller, Roger via use-livecode <use-livecode@lists.runrev.com>:

Hey Ralph,

"The latest phones usually come with a built-in PDF reader."

Source:  How To Open PDF Files on Android in under 60 Seconds https://joyofandroid.com/open-pdf-android/

I am sure it's not the experience for everyone, but I very rarely view PDF files on my phone.  When I do, I use any PDF reader that I want.  Adobe Reader is free.  I know you said "natively", but like in some Linux camps, we don't always want everything ever made to be installed.  /jovial tone 🙂
~Roger
OK, lets say we have an LC Android app that has just printed to pdf
and the file is in ther users DOCUMENTS folder. Can we then just:
...
launch url(specialfolderpath("documents") & "/a_pdf.pdf")
...
and one of the above mentioned (installed) PDF Reader will just kick in,
or is this prohibited by our app's Sandbox?


Best

Klaus
--
Klaus Major
https://www.major-k.de
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to