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 | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode