예제 #1
0
 public void wipeTable(SQLiteDatabase db) {
   for (String cmd : DROP_TABLE) {
     db.execSQL(cmd);
   }
   onCreate(db);
 }
예제 #2
0
 @Override
 public void onCreate(SQLiteDatabase db) {
   for (String cmd : CREATE_TABLE) {
     db.execSQL(cmd);
   }
 }