Skip to content

Commit 513c61a

Browse files
authored
Add HTML encoding for XML block
1 parent d5ae33e commit 513c61a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/active-directory/develop/quickstart-v2-android.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,22 @@ Applications must be represented by an app object in Azure Active Directory so t
9595
> 4. Inside **app** > **src** > **main**, open **AndroidManifest.xml**.
9696
> 5. In the **manifest\application** node, replace the **<activity android:name="com.microsoft.identity.client.BrowserTabActivity">** node with the following:
9797
> ```xml
98-
> <!--Intent filter to catch Microsoft's callback after Sign In-->
99-
> <activity android:name="com.microsoft.identity.client.BrowserTabActivity">
100-
> <intent-filter>
101-
> <action android:name="android.intent.action.VIEW" />
102-
> <category android:name="android.intent.category.DEFAULT" />
103-
> <category android:name="android.intent.category.BROWSABLE" />
104-
> <!--
98+
> &lt;!--Intent filter to catch Microsoft's callback after Sign In--&gt;
99+
> &lt;activity android:name=&quot;com.microsoft.identity.client.BrowserTabActivity&quot;&gt;
100+
> &lt;intent-filter>
101+
> &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
102+
> &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
103+
> &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
104+
> &lt;!--
105105
> Add in your scheme/host from registered redirect URI
106-
> note that the leading "/" is required for android:path
107-
> -->
108-
> <data android:scheme="msauth"
109-
> android:host="Enter_the_Package_Name_Here"
110-
> android:path="Enter_the_Signature_Hash_Here"
111-
> android:scheme = "msauth" />
112-
> </intent-filter>
113-
> </activity>
106+
> note that the leading &quot;/&quot; is required for android:path
107+
> --&gt;
108+
> &lt;data android:scheme=&quot;msauth&quot;
109+
> android:host=&quot;Enter_the_Package_Name_Here&quot;
110+
> android:path=&quot;Enter_the_Signature_Hash_Here&quot;
111+
> android:scheme = &quot;msauth&quot; /&gt;
112+
> &lt;/intent-filter&gt;
113+
> &lt;/activity&gt;
114114
> ```
115115
> 6. Run the app!
116116
> 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.

0 commit comments

Comments
 (0)