Back to project page android-sqlite-kvs.
The source code is released under:
Apache License
If you think the Android project android-sqlite-kvs listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jp.fkmsoft.libs.sqlitekvs.util; /* ww w . jav a 2s . c o m*/ import android.content.Context; import java.io.File; /** * Utility class for DB */ public class DBUtils { public static void deleteDB(Context context, String name) { File file = context.getDatabasePath(name + ".db"); if (file.exists()) { file.delete(); } } }