Android apps

The Live SDK provides an API for the Google Android mobile technology platform.

The Android API enables your apps running on Eclair, Froyo, Gingerbread, Honeycomb, and Ice Cream Sandwich versions of Android to work with info in Microsoft OneDrive, and other services that use Microsoft account. Although you can still write code to call the Live SDK Representational State Transfer (REST) API directly, the Android API now makes your coding tasks easier.

Note

If you're working on a mobile app that runs on Windows Phone, this isn't the topic you need. Go to Windows Runtime apps.

Get started

You can use the Live SDK Android API to target Android platform versions 2.2 and later. Get started by downloading the Live SDK for Android.

Note

The Live SDK Android API requires use of the platform API level corresponding to the platform version that you're targeting, as shown here.

Platform name

Version

API level

Jelly Bean

4.1

16

Ice Cream Sandwich

4.0

14

Honeycomb

3.2

13

Honeycomb

3.1

12

Honeycomb

3.0

11

Gingerbread

2.3.4

10

Gingerbread

2.3.3

9

Froyo

2.2

8

For info about the correct versions to use for the Java SE Development Kit (JDK), the Android software development kit (SDK), the Eclipse integrated development environment (IDE), and the Android Development Tools (ADT) plugin for Eclipse if you choose to use them, see the Android Developers website.

These topics show you how to add user operations in OneDrive to Android apps.

Topic

Description

Signing users in (Android)

Let users sign in to their OneDrive from your Android apps.

Downloading and uploading files (Android)

Download or upload user's files on OneDrive, from your Android apps.

Getting user data (Android)

Access a user's Microsoft account data from your Android app, using the Live SDK.

Obtaining user consent (Android)

Obtain user consent in OneDrive, from your Android apps.

File and folder properties (Android)

Let users read their OneDrive file and folder properties from your Android apps.

Move, copy, create, or delete a file or folder (Android)

Move, copy, create, or delete files or folders on OneDrive, in your Android apps.

Create, update, read, or delete albums (Android)

How to create, update, read, and delete albums from a user's OneDrive.

Read, create, or delete tags (Android)

Read, create, or delete a tag on OneDrive, from your Android apps.