2 Replies Latest reply on Jan 21, 2012 5:55 PM by jfb00

    Air open SQLite file

    jfb00 Level 3


      I am trying to ope a SQLite database file in mac.

      I try this:

      dbFile = File.applicationStorageDirectory.resolvePath("../db/secondDB.db");

      sqlCon.open(dbFile, SQLMode.UPDATE);


      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?