Sunday, November 6, 2022

[FIXED] How to access contacts list in Windows Phone 7?

Issue

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

Thanks!

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

Link


Solution

EDIT: 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.

EDIT: 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.)



Answered By - Jon Skeet
Answer Checked By - Senaida (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.