在 WP 7 中提取联系人数据
我不是一个完全的菜鸟,但我需要从 Windows Phone 7 上的联系人列表中提取电话号码。任何人都可以帮助我吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我不是一个完全的菜鸟,但我需要从 Windows Phone 7 上的联系人列表中提取电话号码。任何人都可以帮助我吗?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您应该使用 PhoneNumberChooserTask< /a> 让用户从联系人列表中选择联系人。
示例:单击
You should use PhoneNumberChooserTask to let user select a contact from his contact list.
A sample: Click
MSDN 上有一篇文章,标题为 如何至:访问 Windows Phone 的联系人数据。本文解释了如何访问联系人列表并从中提取信息。另外windowsphonegeek.com 的这篇文章解释了如何访问联系人并从联系人获取详细信息,例如电话号码。
希望这有帮助!
There's an article on MSDN, titled How to: Access Contact Data for Windows Phone. In this article is explained how to access the contactlist and extract information from it. Also this article from windowsphonegeek.com explains on how to access the contact and get details from a contact, such as the phonenumber(s).
Hope this helps!
在 Microsoft.phone.userdata 命名空间中使用 microsoft Contacts 类。
您可以在搜索完成后使用搜索功能和事件处理程序来收到通知。
请参阅此处的文档< /a>
Use microsoft Contacts class in Microsoft.phone.userdata namespace .
You can use search function and event handler after completion of search to be get notified.
refer the documentation here