Documentation for this section has not yet been entered.
Type Reason Android.Database.Sqlite.SQLiteException if the database cannot be opened for writing
Create and/or open a database that will be used for reading and writing. The first time this is called, the database will be opened and SQLiteOpenHelper.OnCreate(SQLiteDatabase), SQLiteOpenHelper.OnUpgrade(SQLiteDatabase, System.Int32, System.Int32) and/or SQLiteOpenHelper.OnOpen(SQLiteDatabase) will be called.
Once opened successfully, the database is cached, so you can call this method every time you need to write to the database. (Make sure to call SQLiteOpenHelper.Close when you no longer need the database.) Errors such as bad permissions or a full disk may cause this method to fail, but future attempts may succeed if the problem is fixed.
Database upgrade may take a long time, you should not call this method from the application main thread, including from Android.Content.ContentProvider.OnCreate.