You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9-35Lines changed: 9 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,6 @@
1
-
# Microsoft Graph Core Preview SDK for Java
1
+
# Microsoft Graph Core SDK for Java
2
2
3
-
Get started with the Microsoft Graph Core SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java application!
4
-
5
-
## Important Note about the Microsoft Graph Core Java Preview
6
-
During the preview we may make changes to the API, and other mechanisms of this library, which you will be required to take along with bug fixes or feature improvements. This may impact your application. An API change may require you to update your code. When we provide the General Availability release we will require you to update to the General Availability version within six months, as applications written using a preview version of library may no longer work.
3
+
Get started with the Microsoft Graph Core SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java and Android application!
The nature of the Graph API is such that the SDK needs quite a large set of classes to describe its functionality. You need to ensure that [ProGuard](https://developer.android.com/studio/build/shrink-code.html) is enabled on your project. Otherwise, you will incur long build times for functionality that is not necessarily relevant to your particular application. If you are still hitting the 64K method limit, you can also enable [multidexing](https://developer.android.com/studio/build/multidex.html).
68
38
@@ -74,7 +44,11 @@ Register your application by following the steps at [Register your app with the
74
44
75
45
### 2.2 Create an IAuthenticationProvider object
76
46
77
-
An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `ICoreAuthenticationProvider`, which can authenticate requests to Microsoft Graph.
47
+
An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `ICoreAuthenticationProvider`, which can authenticate requests to Microsoft Graph.
48
+
### To get instance of HttpClients
49
+
Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth)
50
+
51
+
Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth)
78
52
79
53
### 2.3 Get a HttpClients object
80
54
You must get a **HttpClients** object to make requests against the service.
0 commit comments