I have the following code.
file = recording.stop();
Ti.API.info(file);
var f = Ti.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,'record.wav');
Ti.API.info(f);
f.write(file.toBlob);
var g = Ti.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,'recording.wav');
g.write(f.read(),true);
The Data which im getting from f is appened to g. But i cannot play it. Like size is ...