/// <summary> /// 按名字清除本应用数据库 * * /// </summary> /// <param name="context">Context.</param> /// <param name="dbName">Db name.</param> public static void cleanDatabaseByName(Context context, String dbName) { context.DeleteDatabase(dbName); }
public static void deleteDatabase(Context context) { context.DeleteDatabase(DATABASE_NAME); }