Delete data from database sqlite android Code Example
delete data from database sqlite android
/*Put this in your DAO or in your activity*/
public void delete(int yourvariable){ /*<-----Note: I used Int but you can use what variable you want*/
db.delete("yourtablename","yourcolumntodothewhere=" + yourvariable ,null);
}