From 0947524e1da9bd982ede4cd78fa98ccd03704f93 Mon Sep 17 00:00:00 2001 From: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> Date: Wed, 16 Jul 2025 12:24:41 -0400 Subject: [PATCH 1/2] Update chat-android.md with latest steps --- .../quickstarts/chat/includes/chat-android.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/articles/communication-services/quickstarts/chat/includes/chat-android.md b/articles/communication-services/quickstarts/chat/includes/chat-android.md index 1076bafc327de..4207075664b66 100644 --- a/articles/communication-services/quickstarts/chat/includes/chat-android.md +++ b/articles/communication-services/quickstarts/chat/includes/chat-android.md @@ -30,18 +30,19 @@ ms.author: rifox ### Create a new android application 1. Open Android Studio and select `Create a new project`. -2. On the next window, select `Empty Activity` as the project template. +2. On the next window, select `Empty Views Activity` as the project template. 3. When choosing options, enter `ChatQuickstart` as the project name. -4. Click next and choose the directory where you want the project to be created. +4. This sample uses Java as language +5. Click next and choose the directory where you want the project to be created. ### Install the libraries We use Gradle to install the necessary Communication Services dependencies. From the command line, navigate inside the root directory of the `ChatQuickstart` project. Open the app's build.gradle file and add the following dependencies to the `ChatQuickstart` target: ```groovy -implementation 'com.azure.android:azure-communication-common:' + $azureCommunicationCommonVersion -implementation 'com.azure.android:azure-communication-chat:' + $azureCommunicationChatVersion -implementation 'org.slf4j:slf4j-log4j12:1.7.29' +implementation libs.azure.communication.common +implementation libs.azure.communication.chat +implementation libs.slf4j.log4j12 ``` For the latest version numbers, see https://search.maven.org/artifact/com.azure.android/azure-communication-common and https://search.maven.org/artifact/com.azure.android/azure-communication-chat. @@ -120,7 +121,6 @@ Copy the following code into class `MainActivity` in file `MainActivity.java`: private ChatAsyncClient chatAsyncClient; private void log(String msg) { - Log.i(TAG, msg); Toast.makeText(this, msg, Toast.LENGTH_LONG).show(); } From f5c6585a7d8a48935d41351ff2f6923a24679050 Mon Sep 17 00:00:00 2001 From: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> Date: Wed, 6 Aug 2025 18:03:00 -0400 Subject: [PATCH 2/2] Update author --- .../quickstarts/chat/includes/chat-android.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/communication-services/quickstarts/chat/includes/chat-android.md b/articles/communication-services/quickstarts/chat/includes/chat-android.md index 4207075664b66..d40e52c430a39 100644 --- a/articles/communication-services/quickstarts/chat/includes/chat-android.md +++ b/articles/communication-services/quickstarts/chat/includes/chat-android.md @@ -2,14 +2,14 @@ title: include file description: include file services: azure-communication-services -author: probableprime +author: awang119 manager: mikben ms.service: azure-communication-services ms.subservice: azure-communication-services ms.date: 06/30/2021 ms.topic: include ms.custom: include file -ms.author: rifox +ms.author: anniewang --- ## Prerequisites