Hello, I am using sqlite database for android app development. In that I am trying to fetch records which have value 0 in read field. For that I am using following function. public static final String[] KEY_STATUS_FOR_UNREAD = {"read"}; Cursor mCursor = mDb.query(DATABASE_TABLE , KEY_STATUS_FOR_UNREAD,"0" , null, null, null, null); Here, in my database this field is as integer and I need to pass as String. So will it compare ot with?? Beacuse I am getting NullPointerException for this.Thanks
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users