public void openReadOnlyDB() throws SQLException {
   database = dbHelper.getReadableDatabase();
 }
 public void close() {
   dbHelper.close();
 }
 public void openWritableDB() throws SQLException {
   database = dbHelper.getWritableDatabase();
 }