I have the variable string (user gets to set it via a ListView with tickboxes, so string can contain any number of fruits)
private static final String kernset = "Banana, Peach"
I have the following SQLite Query
Cursor cursor = db.query (TABLE_NAME, new String[] {
WOORD },
"kern IN (\"Banana\", \"Apple\")", null, null, null, null, null);
I want to replace the (\"Banana\", \"Apple\") part of the query with the variable.
How should I do that?
Thanks!