Guest User

Untitled

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. String input = "台北";
  2. SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase("test.db", null);
  3. Cursor cursor = db.rawQuery("SELECT * FROM test WHERE location like '%?%'",new String[]{input});
Add Comment
Please, Sign In to add comment