I copied the code into a project added a ref to sql lib and then changed the dir to file.DirAssets but the app is unable to open the db. Does it have to be on the DirDefaultExternal directory?
Attached a slightly modified version of Erel's code that shows the query in a ListView view rather than in the Log file. I tested it with the emulator.
I am still having an issue getting this sql test to work. I have used the code as is and still get a message that the "unable to open database" message in the sql initialise line. The sql library version I have is dated 31/10/2010. Sorry to be a pest but I use sql a lot.....thanks
File.DirAssets
The assets folder includes the files that were added with the file manager. These files are read-only. You can not create new files in this folder (which is actually located inside the apk file).