Not really sure if the title actually means much!
Basically I'm doing a little personal App (for iOS on an iPad - locally loaded - NOT App Store) that will:
Ask for a filename
do a
Code: Select all
go URL "https://dl.dropbox.com/u/9999999/"&filename&".livecode"
This is so that I can develop simple tools and test them on the ipad without having to compile stuff or any such process. Just edit and save into my local dropbox folder and let it synch - then run the ipad app to load it.
All in all this works Very well. Been using it for a month now with no problems.
Now to the question/problem.
I would like to save a settings file (basic text) that I can load up next time I run the 'external' app.
But, when I ask for the effective filename of this stack (from within the external app) I get nothing. An empty string.
Also asking for just the filename produces nothing.
Also asking for the specialFolderPath("documents") gives nothing.
Actually all the path giving stuff I can think of produce nothing!!! Which is a bit difficult to use for the path to save a file to.
Has anyone else tried something similar? Has anyone got any ideas about how to get the path to a writable documents folder? Is the stack actually downloaded or just loaded into memory?
Has anyone done a similar remote 'livecode' file loader that also uses resources (images/sounds/etc).
Any hints/tips would be welcome at this point.
Cheers,
Dave