title: How to use Microsoft Graph API from a Kotlin Android Studio project to read in Excel files stored in OneDrive?
body: <p>I recently started programming Android apps in Kotlin with Android Studio. Now I want to write an app that reads in data of an excel sheet that is stored within OneDrive (e.g. print out cell A1 within my app). I read that Microsoft provides the Graph API in order to programatically interact with many Microsoft 365 applications like Outlook, OneDrive, Excel and so on.</p>
  <p>Reading what is written on the website / documentation of the Graph API (<a href="https://developer.microsoft.com/de-de/graph" rel="nofollow noreferrer">https://developer.microsoft.com/de-de/graph</a>) gave me the impression, that what I´m trying to do should be possible. The problem is that I only found some REST API request and response statements. But what I am actually looking for is how to implement these functionalities in a specific programming language like Kotlin or Java. I found some code snippets on this website in Java, but none in Kotlin. Java would be ok, too, as Kotlin is pretty compatible with Java. But still I only found some code snippets and not a comprehensive documentation on how to build these functionalities in Java.</p>
  <p>Maybe anyone of you has experiences with this topic and knows how to use the Graph API in order to access Excel file information with Kotlin/Java? Or anybody knows where to find a comprehensive documentation for Java/Kotlin on this topic? Or maybe you also now better ways how to do what I try do without the Graph API.</p>
  <p>I would be very glad if someone could help me!</p>
  <p>Kind regards,
  Jonathan</p>