How to store some data in my stack
Takashi Yoshino
yoshino at sys.wakayama-u.ac.jp
Thu Jan 26 00:40:46 EST 2012
>>
>> 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?
Yes. I wrote a file first, then read it.
I give up this problem...
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._
Takashi Yoshino
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441
On 2012/01/26, at 13:55, J. Landman Gay wrote:
> 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
>
>
> _______________________________________________
> 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