How to store some data in my stack
J. Landman Gay
jacque at hyperactivesw.com
Wed Jan 25 23:55:51 EST 2012
On 1/25/12 6:05 PM, Takashi Yoshino wrote:
>> - Read button
>> on mouseUp
>> put specialFolderPath(“documents”)& "/"& “testFile.txt” into tFile
>> if there is a file tFile then
>> put URL("file:"& tFile) into fld "Data"
>> put the result into fld "msg"
>> else
>> answer "No file yet!"
>> end if
>> end mouseUp
>
> "no file yet!" is shown in an android.
>
> 'Write' function can't work, that is,
> put fld "Data" into URL("file:"& specialFolderPath(“documents”)& "/"& “testFile.txt”)
> is not working on an android.
>
> Did someone succeed in writing a file on android?
I have done it. I'm not sure why your code doesn't work, it's very much
like mine. Did you write a file first before you tried to read it?
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list