Tried everything. This UPDATE don't work. No error or something - it just not updates the table.
void SetDisable (Integer ID, boolean action){
Integer s;
if (action==true) s = 0; else s = 1;
db.rawQuery("UPDATE sms SET disabled="+s+" WHERE id="+ID+"",null);
}
This is my table schema:
CREATE TABLE sms (id INTEGER PRIMARY KEY, fromhour INT, frommin INT, tohour INT, tomin INT, disabled INT);
sqlite>