Java – How to get the OneDriveClient object in a java class

How to get the OneDriveClient object in a java class… here is a solution to the problem.

How to get the OneDriveClient object in a java class

I’m using the Onedrive SDK for Android. It is processing the activity. But how do you get the OneDriveClient object in a java class? When I try to use the java class, it shows that OneDriveClient is empty. I’m using the following link:

[1]: https://github.com/onedrive/onedrive-sdk-android#23-get-a-onedriveclient-object

I don’t want to put this part in the app.

Solution

Currently we can’t use normal java classes that use the OneDrive SDK to create crates. The SDK works with the Activity to log in.

Related Problems and Solutions