开发者

Contact picker with search function

开发者 https://www.devze.com 2023-01-01 10:24 出处:网络
This question1 describes a way how to show list of phone numbers and select one of them if my app needs a phone number. But image if I have a huge contact list, it is not enough to just show list but

This question1 describes a way how to show list of phone numbers and select one of them if my app needs a phone number. But image if I have a huge contact list, it is not enough to just show list but possibility for filtering (by contact's name) is also needed. Is there a standard way to show phones list with picking开发者_如何学编程 possibility and with filtering possibility? (I wouldn't like to invent my own)

Is there a solution for the problem for sdk 2.0 and lower?


You should use ContactsContract.Contacts and then the Flag CONTENT_FILTER_URI.

0

精彩评论

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