Пример #1
0
 public void close() {
   mDbHelper.close();
 }
Пример #2
0
 public void open() throws SQLException {
   mDatabase = mDbHelper.getWritableDatabase();
   mDatabase.execSQL("PRAGMA foreign_keys=ON;");
 }