selectionArgs replaces any question marks in the selection string.
eg:
String[] args = { "first string", "second@string.com" }; Cursor cursor = db.query("TABLE_NAME", null, "name=? AND email=?", args, null);
according to your question - you can use null
Gal Ben-Haim May 08 '12 at 22:13 2012-05-08 22:13
source share