Android sqlite update row
Im trying to update a row in my table but the update function seems not responding. Is everything ok with my function, or i'm I somewhere wrong? public int editChild(int id, String name, String dob, int gender, double weight, double lenght, int color, int status) { ContentValues args = new ContentValues(); args.put("name", name); args.put("dob", dob); args.put("weight", weight); args.put("lenght", lenght); args.put("color", color); args.put("status", status); return database.update(TABLE_CHILDREN, args, "id" + "='" + id + "'", null); } Now i saw logcat, throws these exceptions: 04-03 22:38:32