Instead of using the "=?" string to match strings exactly, use "like?":
db.query(TABLE_NAME, COLUMNS, REG_COLUMN + " LIKE? ", new String[] {searchQuery}, null, null, null);
instead of:
db.query(TABLE_NAME, COLUMNS, REG_COLUMN + "=? ", new String[] {searchQuery}, null, null, null);
Showing posts with label android sqlite case sensitivity. Show all posts
Showing posts with label android sqlite case sensitivity. Show all posts
Saturday, October 1, 2011
Subscribe to:
Posts (Atom)