Skip to content

How to match a contact with a phone number that uses a country code using a search string that does not use the country code? #258

Answered by mianaliasjad
mianaliasjad asked this question in Q&A
Discussion options

You must be logged in to vote

Ok i found a hint for you:

Let's suppose a number with a country code is saved "+923123456789" but when i try to find it without country code "03123456789" the library is unable to find it.

But my method using ContactsContract.PhoneLookup.CONTENT_FILTER_URI i can find it.

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vestrel00
Comment options

Comment options

You must be logged in to vote
1 reply
@vestrel00
Comment options

Comment options

You must be logged in to vote
4 replies
@vestrel00
Comment options

@vestrel00
Comment options

@mianaliasjad
Comment options

@vestrel00
Comment options

Answer selected by vestrel00
Comment options

You must be logged in to vote
3 replies
@vestrel00
Comment options

@mianaliasjad
Comment options

@vestrel00
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants