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: articles/active-directory/develop/quickstart-v2-android.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,11 @@ Applications must be represented by an app object in Azure Active Directory so t
46
46
> >  Your application is configured with these attributes
47
47
>
48
48
> ### Step 2: Download the project
49
-
> *[Download the code sample](https://github.com/Azure-Samples/ms-identity-android-java)
49
+
> *[Download the code sample](https://github.com/Azure-Samples/ms-identity-android-java/archive/master.zip)
50
50
>
51
51
> ### Step 3: Configure your project
52
52
> 1. Extract and open the Project in Android Studio.
53
-
> 2. Inside app > src > main > res > raw, open auth_config_multiple_account.json and replace it with the following code:
53
+
> 2. Inside **app** > **src** > **main** > **res** > **raw**, open **auth_config_multiple_account.json** and replace it with the following code:
54
54
> ```javascript
55
55
> {
56
56
>"client_id":"Enter_the_Application_Id_Here",
@@ -71,7 +71,7 @@ Applications must be represented by an app object in Azure Active Directory so t
71
71
>```
72
72
73
73
> [!div class="sxs-lookup" renderon="portal"]
74
-
> 3. Inside app > src > main > res > raw, open auth_config_single_account.json and replace it with the following code:
74
+
> 3. Inside **app** > **src** > **main** > **res** > **raw**, open **auth_config_single_account.json** and replace it with the following code:
75
75
> ```javascript
76
76
> {
77
77
>"client_id":"Enter_the_Application_Id_Here",
@@ -95,22 +95,22 @@ Applications must be represented by an app object in Azure Active Directory so t
95
95
> 4. Inside **app** > **src** > **main**, open **AndroidManifest.xml**.
96
96
> 5. In the **manifest\application** node, replace the **<activity android:name="com.microsoft.identity.client.BrowserTabActivity">** node with the following:
97
97
> ```xml
98
-
><!--Intent filter to catch Microsoft's callback after Sign In-->
> The sample app starts on the **Single Account Mode** screen. A default scope, **user.read**, is provided by default, which is used when reading your own profile data during the Microsoft Graph API call. The URL for the Microsoft Graph API call is provided by default. You can change both of these if you wish.
@@ -133,7 +133,7 @@ Applications must be represented by an app object in Azure Active Directory so t
133
133
> [!div renderon="docs"]
134
134
> ## Step 1: Get the sample app
135
135
>
136
-
> [Clone the code](https://github.com/Azure-Samples/ms-identity-android-java.git).
136
+
> [Download the code](https://github.com/Azure-Samples/ms-identity-android-java/archive/master.zip).
0 commit comments