Where do copied files go on mobile?

Graham Samuel livfoss at mac.com
Sun Apr 19 07:46:49 EDT 2020


Thanks Klaus. I am parking a sound in there and obviously only reading it, so should be OK. My mysterious unresponsiveness in my app must be something else...

Keep safe 

Graham

Sent from my iPhone

> On 19 Apr 2020, at 13:40, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Graham,
> 
>> Am 19.04.2020 um 13:34 schrieb Graham Samuel via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> When doing standalone settings for mobile, if one chooses to copy files  where do they go? My simulator setup is having a meltdown at present so it’s hard to test. I hope it’s the ‘resources’ folder. LC docs don’t say AFAICS.
> 
> yes, everything you add to our app via the "Copy files" tab in the "Standalone Application Settings"
> will be found in the runtime in  -> specialfolderpath("resources") on ANY platform!
> 
> Hint:
> We are not allowed to write in that folder and even opening a database here is considered
> "writing" and will fail.
> 
> So if you have a database (SQLite) file in your app, you need to copy it to the users DOCUMENTS
> folder first and open it there!
> 
>> Graham
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list