File in the stack are in "the engine folder" and it's sub folders. This is read only.
You can store files in "the documents folder". Check the docs for other folder options. I have a function "TheEngineFolder" that returns the engine folder on mobile and the location of the included assets when in the IDE. This allows testing using the same code. Ralph DiMola IT Director Evergreen Information Services [email protected] <div>-------- Original message --------</div><div>From: Brahmanathaswami <[email protected]> </div><div>Date:08/08/2015 18:04 (GMT-05:00) </div><div>To: How to use LiveCode <[email protected]> </div><div>Subject: Local Path for Mobile </div><div> </div>Complete mobile newbie here... will be coming with my begging bowl out a lot in the days to come. Is this good for mobile also? function localPath put the effective filename of this stack into tPath set the itemdel to "/" delete item -1 of tPath put "/" after tPath return tPath end localPath where we need to reference images, icons, text files and other data.. we can fetch things with set the defaultfolder to (localPath() &"img/icons") put the files BR _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
