IPicker.startPicking method

Last modified: August 25, 2014

Applies to: Office 365 | OneDrive

In this article
Remarks
Defined in
Package

Starts a new activity that allows users to pick an item from OneDrive, create links for viewing or downloading, and then to be returned to the starting application.

void startPicking(final Activity activity, final LinkType linkType)

Name

Type

Description

activity

android.app.Activity

The activity that starts the picker experience.

linkType

LinkType enumeration

The type of link that should be returned to this activity from the picking flow.

To get the picking results, you must implement android.app.Activity.onActivityResult. If the OneDrive application is not available, it starts a marketplace so that users can install the OneDrive application.

IPicker.java

Show: