How to print id of record in Android sqlite?
Answers
Answered by
0
try this:
String query = "SELECT * FROM todo WHERE category='" + vg;
Cursor cursor = database.rawQuery(query,null);
if (cursor != null) {
cursor.moveToFirst();
}
return cursor;
Similar questions