Java tutorial
//package com.java2s; import android.database.sqlite.SQLiteDatabase; public class Main { private static final String TABLE_NAME = "Item"; private static final String COLUMN_ID = "item_id"; public static Integer deleteItem(SQLiteDatabase db, Integer id) { return db.delete(TABLE_NAME, COLUMN_ID + " = ? ", new String[] { Integer.toString(id) }); } }