Remove All Ads from XDA
Honor 9 Lite

Contact list filter

1 posts
Thanks Meter: 0
By dsimoes12, Junior Member on 9th April 2014, 12:46 PM
Post Reply Email Thread
Hello everyone,

I'm developing an app that requires the user to be registered in a server. Right now I want to show the user which of its contacts are using the app (registered in the server).
All the request/reply part is implemented. What I can't do is to show a contact list with only the contacts that the app receives as reply from server.

Note that I don't want to make the list myself but rather use something like this:
Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
which shows the contact list for the user to pick one.

Just to be absolutely clear, I'm talking about filtering the contacts the following way:
select * from all_contacts where phone IN reply_array
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes