Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String input = "台北";
- SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase("test.db", null);
- Cursor cursor = db.rawQuery("SELECT * FROM test WHERE location like '%?%'",new String[]{input});
Add Comment
Please, Sign In to add comment