Displaying & caching PDF files
Klaus major-k
klaus at major-k.de
Wed Feb 5 14:52:44 EST 2020
Hi Jerry,
> Am 05.02.2020 um 20:50 schrieb JJS via use-livecode <use-livecode at lists.runrev.com>:
>
> 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
so this means YES to my question, right? :-)
Bedankt!
> Op 5-2-2020 om 20:44 schreef JJS via use-livecode:
>> launch url "file:/mnt/sdcard/help.pdf"
>>
>> Groetjes,
>>
>> Jerry
>>>> ...
>>> 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
klaus at major-k.de
More information about the use-livecode
mailing list