Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Msgraph-sdk-java vs Msgraph-sdk-android for Android?

Has anyone tried Android development using Microsoft Graph SDKs? What is the preferred SDK for Android? There are two SDKs available - one for Java (msgraph-sdk-java) and one separately for Android (msgraph-sdk-android) and its very confusing to choose between two. No appropriate documentation available as well!

like image 636
Samhith G B Avatar asked Dec 20 '25 19:12

Samhith G B


1 Answers

Sorry for the confusion Samhith. We are in the process of deprecating the Android SDK in favour of the Java SDK for Android. The docs here should have mentioned the correct configuration for using Java. That's on me to fix.

There is an example of creating a client for Android here but you are absolutely correct that the guidance is not clear. There is a dedicated Android Authorization Prodvider that can be found here.

All future work will be in the Java SDK and we will support the Android platform via that SDK.

like image 200
Darrel Miller Avatar answered Dec 24 '25 11:12

Darrel Miller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!