This is a reference application showcasing the integration of CometChat's Android Calls SDK in a native Android project. It demonstrates how to implement real-time voice and video calling features with ease.
Sign up for a CometChat account to obtain your app credentials: App ID, Region, and Auth Key
- Android Studio (latest stable version)
- JDK 17 or later
- Android device or emulator with API level 26+
-
Clone the repository:
git clone https://github.com/cometchat/calls-sdk-android.git
-
Open the project in Android Studio.
-
Sync Gradle to download all dependencies.
-
[Optional]Configure CometChat credentials:- Open the
AppConstants.ktfile located atsamples/sample-app/src/main/kotlin/com/cometchat/samplecalls/utils/AppConstants.ktand enter your CometChatAPP_ID,REGION, andAUTH_KEY:object AppConstants { const val APP_ID = "YOUR_APP_ID" const val REGION = "YOUR_REGION" // us, eu, or in const val AUTH_KEY = "YOUR_AUTH_KEY" }
- Alternatively, you can enter your credentials on first launch via the in-app credentials screen.
- Open the
-
Run the app on a device or emulator.
This sample app was built using the agent skills in skills/. To recreate this exact functionality in your own project, copy the skills/ folder and use this prompt with your AI coding assistant:
Using the skills in skills/, build an Android app with CometChat Calls SDK v5 that lets users
enter their App ID, Region, and Auth Key, log in with a UID, enter a session ID, and join a
voice or video call. Use setup for SDK initialization, join-session for joining the call, and
session-settings for configuring voice vs video with appropriate layouts and audio modes.
Skills used: setup, join-session, session-settings
For issues running the project or integrating with our Calls SDK, consult our documentation or create a support ticket. You can also access real-time support via the CometChat Dashboard.



