I don’t have any knowledge on working with Sqlite database on Blackberry. Recently i delved into database with Blackberry. When i tried to create the database, the database gets successfully created on Simulator(Simulate–>ChangeSDCard–>MountDirectory) on Some particular folder.
Next when i try to Open the database for creating tables & inserting data–
String db_url ="file:///SDCard/Databases/"+"sampleTest.db";
db = DatabaseFactory.open(db_url);
It through the DatabaseException error with message :”Invalid path name. Path does not contains a proper root list. See FileSystemRegistry class for details.”
Please help me !! What is going Wrong here.
First set Sdcard in Simulator:
Go Simulate–>change sdcard–>Add directories(sdcard folder path)
Write Query like this: