> and so on, in various permutations.
> mActivity.managedQuery("content_uri", [id, title, tags], "title LIKE ?
> OR tags LIKE ?", [%A% OR %C%, %A% OR %C%], "title ASC")
Not familiar with the syntax you are using, but this is how I would
try it
mActivity.managedQuery("content_uri", //table
new String[]{id, title, tags}, //
columns
"title LIKE ? OR title LIKE ? OR
tags LIKE ? OR tags LIKE ?",//where
new String[]{"%" + A + "%" , "%" +
C + "%", "%" + A + "%" , "%" + C + "%"}, //args
"title ASC")//assuming this
parameter is order by
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en