I am trying to ope a SQLite database file in mac.
I try this:
dbFile = File.applicationStorageDirectory.resolvePath("../db/secondDB.db");
I am getting an error in the open statement.
I have the database file inside the folder "src\db\secondDB.db"
What am i doing wrong?
Now, this app will run in windows also, how can I validate the right path for both system?
I was missing the call of initialization of the connection
I spoke to soon. I still have the error:
Error #3125: Unable to open the database file.