public final boolean delete(String where){
  SQLiteDatabase execute=getWriter();
  String sql="DELETE FROM " + getTableName() + " WHERE "+ where;
  try {
    execute.execSQL(sql);
    return true;
  }
 catch (  SQLException e) {
    return false;
  }
 finally {
    closeWriter(execute);
  }
}

public final boolean delete ( String where ) { SQLiteDatabase execute = getWriter ( ) ; String sql = "DELETE FROM " + getTableName ( ) + " WHERE " + where ; try { execute . execSQL ( sql ) ; return true ; } catch ( SQLException e ) { return false ; } finally { closeWriter ( execute ) ; } }
according to the where to delete data .
