Hello,
I’ve created a folder inside the system.DocumentsDirectory using the Lua File System example:
local lfs = require "lfs"
local temp\_path = system.pathForFile( "", system.DocumentsDirectory )
local success = lfs.chdir( temp\_path )
local new\_folder\_path
if success then
lfs.mkdir( "MyNewFolder" )
new\_folder\_path = lfs.currentdir() .. "/MyNewFolder"
end
now I want to save an image inside MyNewFolder. i’ve tried system.DocumentsDirectory/MyNewFolder and new_folder_path, but it doesn’t work.
What path should i give to access this newly created folder?
Thanks [import]uid: 175611 topic_id: 33950 reply_id: 333950[/import]
