BlackBerry SQLite database creation: “filesystem not ready”
问题 My application takes data from a server and saves it to an SQLite database. This works fine in the 9550 (BlackBerry Storm 2) simulator, but when I run this in any other simulator it gives me this error: file system not ready Code snippet: URI myURI = URI.create("file:///store/MyDataBase.db"); Why is this happening? 回答1: It may be that store is not a mounted and available file system root on the 9550. You should use javax.microedition.io.file.FileSystemRegistry.listRoots() to get an