https://bugzilla.novell.com/show_bug.cgi?id=634700
https://bugzilla.novell.com/show_bug.cgi?id=634700#c0 Summary: Sqlite Library not working Classification: Mono Product: MonoDroid Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Class Libraries AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: Yes Description of Problem: The SqliteLibrary for Monodroid doesn't seem to work Steps to reproduce the problem: 1. Try the following code: if (System.IO.File.Exists("/sdcard/dbtest.db3")) System.IO.File.Delete("/sdcard/dbtest.db3"); SqliteConnection.CreateFile("/sdcard/dbtest.db3"); SqliteConnection db = new SqliteConnection("Data Source= /sdcard/dbtest.db3; Version=3"); db.Open(); var c = db.CreateCommand(); The first run SqliteConnection.CreateFile will work (as I gave applicationthe right to access the sd) and will create the file, but db.Open doesn't work. On the second run the program is not able to delete the file from sd. I've also tried to use /data/data/package/databases to create the file but didn't work How often does this happen? Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
