11-07-2009 05:00 PM
I just started trying the 5.0.0 beta API and I am finding that FileConnection.exists() always returns true in the simulator. Under 4.6.0, if the file did not already exist, FileConnection.exists() would return false. However, under 5.0.0 the FileConnection.open() method seems to automatically create a file if one doesn't already exist. So after the .open() call, the check of .exists() always returns true.
How can I check if a file exists under 5.0.0?
11-10-2009 01:01 AM
I didn't find this problem.
I checked for file fc = (FileConnection)Connector.open("file:///SDCard/xyz
04-29-2010 04:58 AM
Try in BB Eclipse plugin, Am working in BB Eclipse plugin I never got such type of exception with the file connection.
04-29-2010 04:45 PM
@squished18: Is there even a FileConnection.open() method? Perhaps you code post some code?