/** Creates underlying database table using DAOs. */ public static void createAllTables(SQLiteDatabase db, boolean ifNotExists) { ImageDao.createTable(db, ifNotExists); GalleryDao.createTable(db, ifNotExists); TagDao.createTable(db, ifNotExists); GallerysToTagsDao.createTable(db, ifNotExists); }