Android and USB footswitch

Andrew at MidWest Coast Media andrew at midwestcoastmedia.com
Tue Jun 6 12:28:23 EDT 2023


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

—Andrew Bell

> 
>> Am 31.05.2023 um 20:39 schrieb Andrew at MWCM via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> You can open local PDFs in a LiveCode app by loading them into the Browser widget.
>> 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? :-)
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> 
> 




More information about the use-livecode mailing list