Managing user contacts and appointments (HTML)

You can let your users access their contacts and appointments so they can share content, email, calendar info, or messages with each other, or whatever functionality you design.

To see a few different ways in which your app can access contacts and appointments, see these topics:

In this section

Topic Description

Quickstart: Selecting user contacts

Through the Windows.ApplicationModel.Contacts namespace, you have several options for selecting contacts. Here, we'll show you how to select a single contact or multiple contacts, and we'll show you how to configure the contact picker to retrieve only the contact information that your app needs.

Managing contact cards

Through the Windows.ApplicationModel.Contacts.ContactManager class, you have several options for showing a contact card. Here, we'll show you how to display a contact card by using initial data in the Contact object and also by using a ContactCardDelayedDataLoader object to update the contact card in a delayed fashion.

Quickstart: Handling contact actions

Through the Windows.UI.WebUI and Windows.ApplicationModel.Activation namespaces, you can provide data to an app when it's activated for several contact actions (Windows.ApplicationModel.Contacts.ContactLaunchActionVerbs). Here, we'll show you how to handle app activation when a user attempts to make a phone call to a contact, send a message to a contact, or get the map to a contact's address.

Quickstart: Managing appointments

Through the Windows.ApplicationModel.Appointments namespace, you can create and manage appointments in a user's calendar app. Here, we'll show you how to create an appointment, add it to a calendar app, replace it in the calendar app, and remove it from the calendar app. We'll also show how to display a time span for a calendar app and create an appointment-recurrence object.

 

Appointments API sample

Contact manager API sample

Contact Picker app sample

Handling Contact Actions sample