UWP Contacts, Contact Lists and Contact Timelines

204 Views Asked by At

I have found good information from the UWP sample repo on GitHub for how to create contacts for a UWP app as well as contact list annotations.

What I can't find is how I can add line items to the contact's timeline in the same way that the mail program adds recently received emails for that contact or Skype Preview adds recently received calls or messages.

Also, how do you make a contact list readonly to the user? I want the contact list to be updated only by the app. I'm referring to a contact list that is added to the People app. These contacts can then be linked w/ other contacts in the people hub.

1

There are 1 best solutions below

4
Xie Steven On

If you’re referring to the data that shows up in the timeline it’s actually a number of different sources (both local and cloud-hosted), there’s no specific API that helps process the data, it’s just the combination of call history, messaging history, email history, calendar data, and some cloud providers.

The UI is just an extension of the grouped ListView using the SemanticZoom control. Each time span is just a grouping.

how do you make a contact list readonly to the user? I want the contact list to be updated only by the app.

I'm not sure what you said. If you just get all contacts and show them in a list control, the users should not be able to edit it in your app. If you meant that user updates the contact in People app, then you don't want this operation. I'm afraid you cannot control it. The People app is system default app, it should have access to update the contacts.