如何在 Windows Phone 7 中访问联系人列表? [英] How to access contacts list in Windows Phone 7?

查看:25
本文介绍了如何在 Windows Phone 7 中访问联系人列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问 Windows Phone 7 中的联系人存储(联系人列表)?

How do you access the contacts store (the contact list) within Windows Phone 7?

谢谢!

更新:看来这可能会在 WP7 的下一版本 Mango 中提供:

update: It seems that this might be available in the next version of WP7, Mango:

链接

推荐答案

此答案在发布时是正确的.在 Windows Phone 7.1 (Mango) 中,第三方应用程序将可以访问联系人.

This answer was correct at the time of posting. In Windows Phone 7.1 (Mango) third-party applications will have access to contacts.

你不能.你不被允许.这被视为应用程序不应接触的私有数据.

You can't. You're not allowed to. That's viewed as private data that applications shouldn't be touching.

虽然您不能直接访问联系人列表,但您可以启动EmailAddressChooserTaskPhoneNumberChooserTask 以获取有关 用户指定的联系人.(同样,您可以启动一个任务来保存电话号码或电子邮件地址.)

Although you can't directly access the contacts list, you can launch the EmailAddressChooserTask or PhoneNumberChooserTask to get back just that piece of information about a user-specified contact. (Likewise you can launch a task to save a phone number or email address.)

这篇关于如何在 Windows Phone 7 中访问联系人列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆