You missed a space: db.execSQL("delete * from " + TABLE_NAME);
Also there is no need to even include *, the correct query is:
db.execSQL("delete from "+ TABLE_NAME);
You missed a space: db.execSQL("delete * from " + TABLE_NAME);
Also there is no need to even include *, the correct query is:
db.execSQL("delete from "+ TABLE_NAME);