public void deleteSms(Sms sms) { long id = sms.getId(); database.delete(MySQLiteHelper.TABLE_SMS, MySQLiteHelper.COLUMN_SMS_ID + " = " + id, null); }