Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

CometChat

Android Calls Sample App by CometChat

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.

Mobile Screenshot 1   Mobile Screenshot 2   Mobile Screenshot 3

Prerequisites

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+

Installation

  1. Clone the repository:

    git clone https://github.com/cometchat/calls-sdk-android.git
  2. Open the project in Android Studio.

  3. Sync Gradle to download all dependencies.

  4. [Optional] Configure CometChat credentials:

    • Open the AppConstants.kt file located at samples/sample-app/src/main/kotlin/com/cometchat/samplecalls/utils/AppConstants.kt and enter your CometChat APP_ID, REGION, and AUTH_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.
  5. Run the app on a device or emulator.

Build It with AI

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

Help and Support

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.