write files to sd card on android

Hi,

Hope you can help. I can successfully write a file to the android internal memory using

1
2
3
4
5
6
system.pathForFile( "data.txt", system.DocumentsDirectory )
fh, errStr = io.open( path,"a")
if fh
  fh:write(theText .. "\n")
end
io.close()
views:1435 update:2011/11/3 9:30:30
corona forums © 2003-2011