I’m having trouble retrieving a file from system.DocumentsDirectory (only one file in the directory as of now) and storing it as a variable to be displayed on the screen.
So far I’ve tried various methods with no luck:
local path = system.pathForFile( “myRecording.mp3”, system.DocumentsDirectory )
local fhd = io.input( path)
local pathname = io.read( fhd );
local filedisplay = string.format( “File:”, path )
Anybody got any ideas?
Thanks