onedrive-picker-android | Sample application for OneDrive file picker SDK for Android
kandi X-RAY | onedrive-picker-android Summary
kandi X-RAY | onedrive-picker-android Summary
The picker is the fastest way to integrate your Android app with OneDrive and OneDrive for Business. It provides a set of Java APIs that your app can use to browse, select, open and save files in your user's OneDrive. When opening files from OneDrive, you can also get shareable links to files - great for sending to friends, coworkers, and relatives - and thumbnails of image and video files so you don't have to build them yourself. In this guide, we’ll show you how to get your app quickly opening and saving files to OneDrive. You can also follow along with our open picker sample app and saver sample app.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets the result from the picker
- Method to update a thumbnail
- Downloads the bitmap from one Uri
- Updates the results table
- Gets the picker result
- Returns the selected link type
- Creates an instance of IPicker from a Bundle
- Returns a link to the requested file
- Starts the picker application
- Creates an intent to launch the Marketplace for the OneDrive application
- Creates an intent to launch the app for a OneDrive application
- Creates an intent to launch one of the OneDrive picker
- Called when the activity is saved
- Get the specific error type
- Gets the specific debug error message
- Create the OnRiveComponent
- Creates an instance of the OneDrive Picker
- Creates the default picker instance
- Creates a new instance of the OneDrive Saver
- Get the name of a file picked up
- Creates a file on the SDCard
- Get a map of all available thumbnails links
- Starts a new saved activity
- This method is used to validate the save process
- Returns the size of the file picked from OneDrive
onedrive-picker-android Key Features
onedrive-picker-android Examples and Code Snippets
Community Discussions
Trending Discussions on onedrive-picker-android
QUESTION
Hi I m trying to integrate OneDrive with android using "com.microsoft.onedrivesdk:onedrive-picker-android:v2.0".
I need to get accessToken of OneDrive and once I pick a file in the one Drive, it should send that fileId.
I followed "https://docs.microsoft.com/en-us/onedrive/developer/controls/file-pickers/android/?view=odsp-graph-online" this tutorial and I could integrate this com.microsoft.onedrivesdk:onedrive-picker-android:v2.0 to gradle. But stuck with next steps.
...ANSWER
Answered 2020-May-03 at 11:23Finally, after doing a big search, I could find a source provided by Microsoft team. https://github.com/OneDrive/onedrive-explorer-android/tree/master/app/src/main/java/com/microsoft/onedrive/apiexplorer .
And we can take the accessToken for One drive using this command
oneDriveClient.authenticator.accountInfo.accessToken
And from the adapter of the source, I could filter the selected file id.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install onedrive-picker-android
You can use onedrive-picker-android like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the onedrive-picker-android component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page