Hello,
I have 2 apps made with Corona SDK and I want to move user data, stats, high scores from one to anonther. I am building for Android now, but later I plan to go on iOS too.
What are my best and easiest options to do it?
This is the funciton I use to save data:
function saveValue(strFilename, strValue)
local theFile = strFilename
local theValue = strValue
local path = system.pathForFile( theFile, system.DocumentsDirectory )
local file = io.open( path, “w+” )
if file then
file:write(theValue)
io.close(file).
return true
end
end