Beginner’s Guide

The CometChat SDK is designed so that it can be seamlessly integrated and used with your existing Android application. The simple API has an intuitive flow which makes the entire process hassle-free.

Get started

You can now use CometChat SDK even if you are using our CometChat Cloud Service.
Note that CometChat SDK works only with the "Custom Integration" platform, so if you are using any other platform you need to switch to "Custom Integration" platform.

For CometChat SDK to work with CometChat Cloud Service you need an API-Key which will be obtained from CometChat administration panel. To get the API-Key, login to CometChat admin panel and select the "Custom Integration" platform in the Settings tab. Navigate to "Add CometChat" tab, copy the API-Key from "CometChat SDK" section.

To start with SDK, you need to have CometChat instance, which is as follows:

CometChat cometchat = CometChat.getInstance(context,"YOUR API-KEY");

You need to pass, the API-KEY to get the CometChat instance.

With this SDK you can get following features:

Ready UI

With CometChat SDK v1.6 you can integrate in build chat user interface in your app. With this you can open a chat window for a specific user or open a whole chat app inside your app.
To checkout more functionalities and their usages refer our Ready UI documentation

Custom UI

You can create your own chat app with the SDK apis. With CometChat SDK you can have following functionalities in your app:

  • Send/receive messages to users
  • Send/receive images, audio, video files
  • Set your profile status, status message
  • Get your chat history
  • Create/delete chatrooms
  • Join/leave chatrooms
  • Have audio/video, audio only call with an user
  • To checkout more functionalities and their usages refer our Custom UI documentation

    Not finding what you need?

    The CometChat team is here to help!