예제 #1
0
 public DataBaseAdapter createDatabase() throws SQLException {
   try {
     mDbHelper.createDataBase();
     mDbHelper.openDataBase();
     mDbHelper.close();
   } catch (IOException mIOException) {
     Log.e(TAG, mIOException.toString() + "  UnableToCreateDatabase");
     throw new Error("UnableToCreateDatabase");
   }
   return this;
 }
예제 #2
0
 public void close() {
   mDbHelper.close();
 }