Reputation: 4132
I am not a complete noob but I need to extract phone numbers from the contact list on Windows Phone 7. Can anyone help me with this?
Upvotes: 0
Views: 444
Reputation: 1525
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
Upvotes: 0
Reputation: 14432
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!
Upvotes: 0
Reputation: 125630
You should use PhoneNumberChooserTask to let user select a contact from his contact list.
A sample: Click
Upvotes: 1