Hi,
Hope you can help. I can successfully write a file to the android internal memory using
[lua]system.pathForFile( “data.txt”, system.DocumentsDirectory )
fh, errStr = io.open( path,“a”)
if fh
fh:write(theText … “\n”)
end
io.close()[/lua]
HOWEVER my question is how do i do the same to the sdcard - i need to write large files and (a) dont want to run out of memory and (b) dont want to have to use ADB pull everytime I want access to the data. There doesnt seem to be an option in pathforfile
thanks
Steve [import]uid: 101461 topic_id: 17237 reply_id: 317237[/import]