List of usage examples for android.database.sqlite SQLiteDatabase deleteDatabase
public static boolean deleteDatabase(@NonNull File file)
From source file:com.panoskrt.dbadapter.DBAdapter.java
@TargetApi(Build.VERSION_CODES.JELLY_BEAN) public void deleteDB() { File oldDB = new File(dbPath + dbName); SQLiteDatabase.releaseMemory();/*from w w w . j ava2 s . co m*/ SQLiteDatabase.deleteDatabase(oldDB); }