relative pathnames work on mobile?

Klaus major-k klaus at
Tue Oct 8 14:49:13 EDT 2013

Bonsoir mon ami,

Am 08.10.2013 um 20:33 schrieb Pierre Sahores <sc at>:

> Hi Freund Klaus,
> Here is the way it works consistently, at least for me!, on both the iOS and Android platforms :
>> put imagename.[png|jpeg|…] into url ("binfile:" & specialFolderPath("documents") & "/imagename.[png|jpeg|…]"
>> put imagename.[png|jpeg|…] into url ("binfile:" & specialFolderPath("cache") & "/imagename.[png|jpeg|…]"

??? Sorry, no capisce 8-)

Where is a relative pathname here?
I do not want/need to copy the images to another location!

Please read my question again :-)

> with the iOS option to do/not do :
>> if the platform is "iphone"
>> then iphoneSetDoNotBackupFile specialFolderPath("documents") & "/imagename.[png|jpeg|…]", true

Ah, yes, thnaks, will remeber this one, thanks!

> Bis bald,
> Pierre
> Le 8 oct. 2013 à 19:24, Klaus major-k a écrit :
>> Hi friends,
>> short question, do not have a real device here in the moment...
>> Suppoesed we have a stack in the folder where a folder "images" resides,
>> we can have filenames of images RELATIVE to the stack:
>> images/subfolder/image.png
>> Works fine, now my question, does this also work on the mobile platform
>> if I add the folder "images" and its subfolders via the "Copy files..." tab in 
>> the standalone builder settings?
>> Or do I need to loop through all images and set hte filenames to the absolute path:
>> -> specialfolderpath("engine") & "/images/subfolder/image.png"
>> Know what I mean?
>> Thanks a lot in advance!



Klaus Major
klaus at

More information about the Use-livecode mailing list