Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.

Commit 6b65a4e

Browse files
author
John Austin
committed
Merge pull request #26 from OfficeDev/relative-links
Adding file links, monospacing
2 parents bea5df7 + ddc0855 commit 6b65a4e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.MD

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ Open the project by importing the settings.gradle file.
127127
4. From the **Welcome to Android Studio** dialog box, choose **Import project (Eclipse ADT, Gradle, etc)**.
128128
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
129129
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.
133133

134134
![Office 365 Snippet sample](/readme-images/constants_Modify.png "Client ID and Redirect URI values in Constants file")
135135

@@ -158,13 +158,13 @@ Once you've built the snippets project you can run it on an emulator or device.
158158

159159
The starter project uses these classes to manage interactions with Office 365:
160160

161-
* [CalendarSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/CalendarSnippets.java)
162-
* [ContactsSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/ContactsSnippets.java)
163-
* [EmailSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/EmailSnippets.java)
164-
* [FileFolderSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/FileFolderSnippets.java)
165-
* [UsersAndGroupsSnippets](https://github.com/OfficeDev/O365-Android-Snippets/blob/master/app/src/main/java/com/microsoft/office365/snippetapp/Snippets/UsersAndGroupsSnippets.java)
161+
* [```CalendarSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/CalendarSnippets.java)
162+
* [```ContactsSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/ContactsSnippets.java)
163+
* [```EmailSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/EmailSnippets.java)
164+
* [```FileFolderSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/FileFolderSnippets.java)
165+
* [```UsersAndGroupsSnippets```](app/src/main/java/com/microsoft/office365/snippetapp/Snippets/UsersAndGroupsSnippets.java)
166166

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.
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.
168168

169169

170170
### Connect to Office 365
@@ -175,33 +175,33 @@ The **AuthenticationController** object manages getting a token from ADAL and re
175175

176176
### Calendar API
177177

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.
179179

180180
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.
181181

182182
### Files API
183183

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.
185185

186186
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.
187187

188188
The **getFilesAndFolders** method returns a list of **Item** objects containing the selected files contents.
189189

190190
### Mail API
191191

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.
193193

194194
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.
195195

196196
### Contacts API
197197

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.
199199

200200
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.
201201

202202
### Azure Active Directory API
203203

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.
205205

206206
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.
207207

0 commit comments

Comments
 (0)