Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.46 KB

README.md

File metadata and controls

45 lines (33 loc) · 2.46 KB

LiveSDK for Windows and Windows Phone

version 5.6

  1. Introduction

The Live SDK for Windows and Windows Phone library is intended to help developers to easily integrate OneDrive and Outlook.com contacts into their Windows Runtime apps (HTML and XAML).

The Live SDK enables access to users’ identity profile info and allows your apps to:

  • Upload and download photos, videos, documents, and other files in OneDrive
  • Personalize your users’ experience
  • Take advantage of single sign-on using Microsoft Account in Windows 8.1 and Windows Phone 8.1
  • Create, read, and update contacts, calendars, and events in Outlook.com
  1. Reference the SDK

  • Install the Live SDK from the download site
  • Open your app's project in Visual Studio
  • In Solution Explorer, right-click References > Add Reference
  • For Windows Runtime HTML apps: Click Windows > Extension SDKs and select both Live SDK and Windows Library for JavaScript 2.1. Further details available here
  • For Windows Runtime XAML apps: Click Windows 8.1 or Windows Phone 8.1 > Extensions and select Live SDK. Further details available here

To use the SDK in a Windows Store app with single sign-in (the default), you need to register the application with the Windows Store. Failing to register the app will generate a runtime exception when logging in with the SDK. For more information about how to register with the Windows Store, click here

  1. Documentation

Visit: http://dev.onedrive.com.

  1. Sample code

Windows Store App Samples

  • Includes samples for HTML and XAML apps for Windows and Windows Phone

Desktop Samples

  • API Explorer: Authenticates user and uploads and downloads files

Web Samples

  • 3 samples that demonstrate authentication and OAuth with ASP.Net or PHP

Windows Phone 8 Samples

  • 5 samples that demonstrate authentication and core concepts (upload, download, etc)