Hi Andrew,

> Am 06.06.2023 um 18:28 schrieb Andrew at MidWest Coast Media via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> 1- add folder of PDFs in Standalone Application Settings > Copy Files (in my 
> case this appears as “files/*”)
> 2- add a Browser widget to your stack
> 3- set the filename of the widget to your local PDF file path
> put "/files/" into tBasePath
> put “SomeLocalFile.pdf" into tFileName
> put tBasePath & tFileName into tPath
> put specialFolderPath("resources") & tPath into tURL
> set the fileName of widget “Browser" to tURL

as I wrote in an earlier mail, this does not work on Android!
The browser cannot display PDFs on Android! 
Or did this change in the last time?

But I have a license for the PDF widget, so displaying is not a problem.

> —Andrew Bell
>> 
>>> Am 31.05.2023 um 20:39 schrieb Andrew at MWCM via use-livecode 
>>> <use-livecode@lists.runrev.com>:
>>> You can open local PDFs in a LiveCode app by loading them into the Browser 
>>> widget.

See above...

>>> Do you plan on compiling with the PDFs as part of your app (in the 
>>> Resources folder) or trying to add to the app after the fact?
>> and? 
>> Do you have a helpful hint for this? :-)

I meant that I am looking for a way to add some more PDFs later.
And my question was if there is another way to do so without loading them from 
some URL.


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
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

Reply via email to