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
{{ message }}
This repository was archived by the owner on May 4, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.MD
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -127,9 +127,9 @@ Open the project by importing the settings.gradle file.
127
127
4. From the **Welcome to Android Studio** dialog box, choose **Import project (Eclipse ADT, Gradle, etc)**.
128
128
5. Respond to the dialog ("Gradle Sync: Gradle settings for this project are not configured yet. Would you like the project to use the Gradle wrapper? ") by clicking the OK button to use the Gradle wrapper
129
129
5. Select the **settings.gradle** file in the **O365-Android-Snippets** folder and click **OK**.
130
-
6. Open the constants.java file in the com.microsoft.office365.snippetapp.helpers package.
131
-
7. Find the CLIENT_ID constant and set its String value equal to the client id you registered in step 1.
132
-
8. Find the REDIRECT_URI constant and set its String value equal to the redirect URI you registered in step 1.
130
+
6. Open [```Constants.java```](app/src/main/java/com/microsoft/office365/snippetapp/helpers/Constants.java).
131
+
7. Find the [```CLIENT_ID```](app/src/main/java/com/microsoft/office365/snippetapp/helpers/Constants.java#L19) constant and set its String value equal to the client id you registered in step 1.
132
+
8. Find the [```REDIRECT_URI```](app/src/main/java/com/microsoft/office365/snippetapp/helpers/Constants.java#L20) constant and set its String value equal to the redirect URI you registered in step 1.
133
133
134
134

135
135
@@ -158,13 +158,13 @@ Once you've built the snippets project you can run it on an emulator or device.
158
158
159
159
The starter project uses these classes to manage interactions with Office 365:
These classes have snippet methods that wrap calls to the [SharePointClient](https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/file-services/src/main/java/com/microsoft/fileservices/odata/SharePointClient.java) and [OutlookClient](https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/outlook-services/src/main/java/com/microsoft/outlookservices/odata/OutlookClient.java) objects in the Office 365 SDK for Android. Look at the classes in the com.microsoft.office365.snippetapp.O365Stories package to see how the snippets are called.
167
+
These classes have snippet methods that wrap calls to the [```SharePointClient```](https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/file-services/src/main/java/com/microsoft/fileservices/odata/SharePointClient.java) and [```OutlookClient```](https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/outlook-services/src/main/java/com/microsoft/outlookservices/odata/OutlookClient.java) objects in the Office 365 SDK for Android. Look at the classes in the com.microsoft.office365.snippetapp.O365Stories package to see how the snippets are called.
168
168
169
169
170
170
### Connect to Office 365
@@ -175,33 +175,33 @@ The **AuthenticationController** object manages getting a token from ADAL and re
175
175
176
176
### Calendar API
177
177
178
-
The [CalendarSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/CalendarSnippets.java) object wraps the API operations that create, update and delete calendar events in an Office 365 Exchange calendar.
178
+
The [```CalendarSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/CalendarSnippets.java) object wraps the API operations that create, update and delete calendar events in an Office 365 Exchange calendar.
179
179
180
180
The **getO365Events** method gets a list of events from the Office 365 calendar and loads pages of events into a local list. Changes, deletions, and additions to this list are posted asynchronously to the Office 365 calendar by the **updateCalendarEvent**, **deleteCalendarEvent**, and **createCalendarEvent** methods.
181
181
182
182
### Files API
183
183
184
-
The [FileFolderSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/FileFolderSnippets.java) object wraps the API operations that create, update, and delete files stored on OneDrive for Business.
184
+
The [```FileFolderSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/FileFolderSnippets.java) object wraps the API operations that create, update, and delete files stored on OneDrive for Business.
185
185
186
186
The **getFilesAndFoldersFromService** method gets a list of all of the files and folders that are stored on OneDrive for Business and loads the list into a local array. Changes, deletions, and additions to the local list of files are posted asynchronously to OneDrive for Business by the **postUpdatedFileToServer**, **deleteFileFromServer**, and **postNewFileToServer** methods.
187
187
188
188
The **getFilesAndFolders** method returns a list of **Item** objects containing the selected files contents.
189
189
190
190
### Mail API
191
191
192
-
The [EmailSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/EmailSnippets.java) object wraps the API operations that create, update and delete mail items in an Office 365 Exchange mailbox.
192
+
The [```EmailSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/EmailSnippets.java) object wraps the API operations that create, update and delete mail items in an Office 365 Exchange mailbox.
193
193
194
194
The **getMailMessages** method gets a list of mail items from the Office 365 mailbox and loads pages of items into a local list. Deletions to this list, and mail sent from the mailbox are posted asynchronously to the Office 365 calendar by the **deleteMail**, **sendMail**, **forwardMail**, and **replyToEmailMessage** methods.
195
195
196
196
### Contacts API
197
197
198
-
The [ContactsSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/ContactsSnippets.java) object wraps the API operations that create, update and delete contacts in Office 365 Exchange.
198
+
The [```ContactsSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/ContactsSnippets.java) object wraps the API operations that create, update and delete contacts in Office 365 Exchange.
199
199
200
200
The **getContacts** method gets a list of contacts from Office 365 and loads pages of contacts into a local list. Changes, deletions, and additions to this list are posted asynchronously to Office 365 by the **updateContact**, **deleteContact**, and **createContact** methods.
201
201
202
202
### Azure Active Directory API
203
203
204
-
The [UsersAndGroupsSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/UsersAndGroupsSnippets.java) object wraps the API operations for working with users, groups, and other Azure Active Directory data. Office 365 users and groups are stored in Azure Active Directory.
204
+
The [```UsersAndGroupsSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/UsersAndGroupsSnippets.java) object wraps the API operations for working with users, groups, and other Azure Active Directory data. Office 365 users and groups are stored in Azure Active Directory.
205
205
206
206
The **getUsers** method gets a list of all users from the Office 365 tenant. Similarly **getGroups** gets all the groups from the Office 365 tenant. **getTenantDetails** will retrieve information about the Office 365 tenant itself.
0 commit comments