开发者

How do I provide a filter for the initial results in the ContactPicker?

I'm using the built in ContactPicker with the Phone.CONTENT_URI to build a list of contacts that the user selects. So far it's worked pretty well, but I would love to have it not show contacts my user has alr开发者_如何学JAVAeady selected.

I didn't think it was possible until just recently when I noticed my quick contacts widget manages to filter the list before displaying it - ensuring I only see contacts I haven't selected.

Does anyone know how to do this? Right now my implementation is just a simple:

new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI);


I do not think there is a documented way of achieving what you seek. Sorry!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜