Using Live Connect to personalize apps (HTML)
Live Connect features enable Windows Store apps to use info from a user's Outlook.com and Microsoft OneDrive accounts to provide a personalized and connected experience.
You can personalize your Windows Store apps to offer your users additional features and value by using the Live SDK.
The Live SDK lets your Windows Store apps use Live Connect features to provide a personalized and connected experience for your customers.
In this section, you can learn more about these Live Connect features:
The Identity API lets you personalize your Windows Store apps, and the single sign-on feature makes this personalization a seamless part of the Windows user experience.
If users are not already signed in to their Microsoft account before they open your Windows Store apps, you can open the Windows sign-in control by calling the Live SDK. If they are already signed in, they won't be prompted to sign in again. After they've signed in with their Microsoft account, your Windows Store apps can access their profile info.
Your Windows Store apps can access the profile info that users add to their Microsoft account, making your app become their app. Some of the profile info that your app can access includes the user's first name, last name, gender, and birth date.
Your users can store their photos, videos, and documents in the cloud by using OneDrive. Your app can access them from any Windows 8 or Windows 8.1 device in a couple of ways.
Your app can use the OneDrive API in the Live SDK to access the user's photos and other files on their OneDrive without the user's direct intervention.
- Your app can use a file picker to let the user browse their OneDrive and select a file.
Using OneDrive, users can share content with other users, even if they don't have a Microsoft account.
The OneDrive API makes these sharing scenarios possible from your Windows Store apps:
Photos and videos
Enable users to select, upload, and share photos and videos that they have created in your app. Apps for editing images or video can connect to the cloud and enable users to touch up their photos and make them more dramatic with filters.
Enable users to access their documents, spreadsheets, and presentations from anywhere and from any device. Your app can help users create, access, and edit their documents in OneDrive.
The Outlook.com API lets your Windows Store apps interact with the contacts and calendars that users keep in their Outlook.com accounts. Your app can use this info to enhance the connected experience for your users.
You can make your Windows Store apps more engaging to your customers by using the Outlook.com API to access their:
Connect your customers to other people they know who also use your app.
Give your customers a reason to return to your app by subscribing them to your app's shared calendars or by creating events that are available to your customers on all of their devices.
These steps describe how to get ready to use Live Connect in your Windows Store apps.
Prepare your Windows Store app development computer by:
- Downloading and installing the tools and SDK for developing Windows Store apps, if they aren't already installed. This download includes Microsoft Visual Studio and other tools.
- Downloading and installing the Live SDK.
Before you start developing a Windows Store app that uses Live Connect, you must have a Windows Store developer account. If you don't have one already, you can create one from your Dashboard.
Important Unlike what you might do to develop other Windows Store apps, you must configure your Windows Store apps that use Live Connect features in your Dashboard before they will be able to use any Live Connect features.
After your development computer has the necessary software and your accounts have been set up, visit the following topics for more info about how to use Live Connect features in your Windows Store apps.
Before your Windows Store app can use any Live Connect features, you must first register it in your Windows Store Dashboard.
You can find out here how to add features from Microsoft services to your Windows Store app so it can access a user's profile info, files and photos in his or her OneDrive, and Outlook.com info.