[Mono-bugs] [Bug 634700] New: Sqlite Library not working

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 26 07:13:57 EDT 2010


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: mono-bugs at lists.ximian.com
        ReportedBy: dan.ardelean at neologics.eu
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list