https://kotlinlang.org logo
#android
Title
# android
o

Olivier Patry

06/10/2019, 10:48 AM
Hello all 👋 I have some difficulties using contacts
ContentResolver
query. I'd like to filter either by name or email in a single query. I tried
CONTENT_FILTER_URI
which helps filtering display name properly but can't combine with email lookup. Using
CONTENT_URI
to query non empty emails starting with a string gives poor results regarding display name matching (accented letters, first name / last name). Do you have some hints to combine both of two worlds in a single query?
google 7
r

ribesg

06/10/2019, 10:51 AM
How is that on topic
o

Olivier Patry

06/10/2019, 10:55 AM
sorry, I misunderstood the goal of the channel 🙂
Can be ignored/removed then