How to access contacts list in Windows Phone 7?

后端 未结 3 1527
不知归路
不知归路 2020-12-10 11:40

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

3条回答
  •  伪装坚强ぢ
    2020-12-10 12:31

    There is a official Walkthrough at Microsoft especially for Mango Beta 2.

    Windows Phone SDK 7.1 Beta 2 gives you read-only access to the user’s contact data, aggregated across the user's different accounts.

    Only possible way to save new details to a contact is via the Launchers:

    • SaveEmailAddressTask
    • SavePhoneNumberTask
    • SaveContactTask (which is new to Mango Beta 2)

    For read only you can use:

    • PhoneNumberChooserTask
    • EmailAddressChooserTask
    • AddressChooserTask (which is new to Mango Beta 1)

    If you want to query the whole contact list, you will need LINQ.

提交回复
热议问题