Hi i am new to android, i am trying to do a multiple string selection argument and i seem to be getting some problems.
I was hoping someone here can enlighten me. The code is written below
Thanks
I was hoping someone here can enlighten me. The code is written below
Code:
cursor = db.rawQuery("SELECT _id, name, category FROM outlet WHERE mall_id = ? ORDER BY name",
new String[]{""+mallId});
cursor = db.rawQuery("SELECT _id, name, category FROM outlet WHERE name LIKE ? ORDER BY name",
new String[]{"%" + searchOutlet.getText().toString() + "%"});