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/communication-services/quickstarts/ui-library/includes/get-started-chat/android.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ In Android Studio, create a new project.
28
28
29
29
1. On the **File** menu, select **New** > **New Project**.
30
30
31
-
1. On **New Project**, select the **Empty Activity** project template.
31
+
1. On **New Project**, select the **Empty Views Activity** project template.
32
32
33
-
:::image type="content" source="../../media/composite-android-new-project.png" alt-text="Screenshot that shows the New Project dialog in Android Studio with Empty Activity selected.":::
33
+
:::image type="content" source="../../media/chat-composite-android-new-project.png" alt-text="Screenshot that shows the New Project dialog in Android Studio with Empty Views Activity selected.":::
34
34
35
35
1. Select **Next**.
36
36
37
-
1.On **Empty Activity**, name the project **UILibraryQuickStart**. For language, select **Java/Kotlin**. For the minimum SDK, select **API 23: Android 6.0 (Marshmallow)** or later.
37
+
1.Name the project **UILibraryQuickStart**. For language, select **Java/Kotlin**. For the minimum SDK, select **API 23: Android 6.0 (Marshmallow)** or later.
38
38
39
39
1. Select **Finish**.
40
40
@@ -64,6 +64,7 @@ To add the repository:
64
64
65
65
1. In your project Gradle scripts, ensure that the following repositories are added. For Android Studio (2020.\*), `repositories` is in `settings.gradle`, under `dependencyResolutionManagement(Gradle version 6.8 or greater)`. For earlier versions of Android Studio (4.\*), `repositories` is in the project-level `build.gradle`, under `allprojects{}`.
1. Sync your project with the Gradle files. To sync the project, on the **File** menu, select **Sync Project With Gradle Files**.
79
89
@@ -336,7 +346,7 @@ public class MainActivity extends AppCompatActivity {
336
346
337
347
In Android Studio, build and start the application.
338
348
339
-
1. Select **Start Experience**.
349
+
1. Select **Launch**.
340
350
1. The chat client joins the chat thread, and you can start typing and sending messages.
341
351
1. If the client can't join the thread and you see `chatJoin` failed errors, verify that your user's access token is valid and that the user was added to the chat thread by REST API call or by using the `az` command-line interface.
0 commit comments