01-31-2011 07:25 PM
First - I do have blackberry.io.file in config.xml.
Any time I try to read the file, check for its existence or save it - I get the exact same message every time.
File system error (1003).
Handheld is a Torch 9800
Funny thing is exact same code works fine on a version 5 9700 handset.
Any ideas would be appreciated.
Solved! Go to Solution.
01-31-2011 07:41 PM
var fileLocation = "file:///Device/home/user/documents/MCMClient.dat"
var blob_clientdata = blackberry.utils.stringToBlob( result, "US-ASCII" ); blackberry.io.file.saveFile( fileLocation, blob_clientdata );
The file does not exist but that file folder structure does on the device.
01-31-2011 10:21 PM
Does this work?
var fileLocation = "file:///store/home/user/documents/MCMClient.dat";
var fileLocation = "file:///SDCard/MCMClient.dat";
I was under the perception that only file:///SDCard and file:///store/home/user/... were writable. Could be wrong though.
02-23-2012 01:24 AM