Maybe the headline misleads what I am actually after. I have a web service which gives me some phone number in Json format. Like this:
{
"phone":123456989,
}
This web service can return more than 500 results. There is no problem to parse it, and show it in a list view.
I want to display all the contacts(with a phone number) in my phone, I can do that too.
Let's say I have four phone numbers(in real case it will be 500) in my contact list
123456989
123456945
123456912
123456923
I want to display all the contacts, comparing the result I get from web services
Like this:
123456989 --- using_this_app
123456945
123456912
123456923
Something like Viber or Whatsapp, they show a marker of the contact is using this app.
If I want to compare each result from web service to each of the contact, I can accomplish what I want, but the problem is it will take a lot of time. How can I do it faster? So comparison won't take too long like viber or whatsapp