Jack Case
Jack Case

Reputation: 329

API for "People" contact data

I'm working on a Win8 metro signup flow and would like to be able to seamlessly pull, using the user-provided phone #, a photo and display name from the built-in "People" app. I'm having trouble finding documentation/code outside of ContactPicker (which isn't what I need).

Couple questions:

Thanks.

Upvotes: 1

Views: 828

Answers (2)

Tristan Warner-Smith
Tristan Warner-Smith

Reputation: 9771

You can't pull contacts without permission, it's a security feature. You CAN interrogate the contact data users pick via the Contact Picker though.

You therefore have to ask the user to pick contacts relevant to your task, call the single / multiple contact picker then once picked, you can interrogate the contacts as much as you want. They have phone numbers, emails, locations all the data you might want hanging off those.

As far as I can tell, there's no way to maintain a persistent link to them though, so store that data while you can.

Upvotes: 1

Jack Case
Jack Case

Reputation: 329

Confirmed that there is no API to pull contacts programmatically.

Upvotes: 1

Related Questions