Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的应用程序中使用联系人选择器意图。我还希望具有从相同意图添加联系人的功能。我搜索了我们是否可以将联系人选择器意图和插入意图结合起来,但似乎不可能。那么我们可以在联系人选择器意图中添加一个按钮吗?我们该怎么做?谢谢..
不,ACTION_PICK活动是另一个应用程序提供的 UI。你不能修改它。ContactsContract您可以通过查询可用联系人并直接显示它们来实现自己的联系人选择器 UI 。
ACTION_PICK
ContactsContract