Computer Science, asked by dadu6226, 1 year ago

How to print id of record in Android sqlite?

Answers

Answered by khushi769
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