I have a problem with a full text search. when i search it’s just search the first word
for example i have “Project Test” i can find it just with searching Project but when i try searching “Test” i can’t find it please tell me how to do i give you my code
public static Cursor fetchProjectCursor(String name)
throws IllegalAccessException, InstantiationException {
Cursor cursor = DataBaseUtil.dataBaseAccess().query(
_PROJECT_TABLE,
_FIELD_NAME,
"(" + _NAME + ")" + " LIKE " + "(" + "\""
+ name + "%" + "\"" + ")", null, null, null, _MODIFIED_DATE);
return cursor;
}
Please help me
Just need to add “%” before name .
Or
Try this.
It return Cursor.