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.
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---