Through our Chat SDK for Android, you can efficiently integrate real-time chat into your client app. On the client-side implementation, you can initialize, configure and build the chat with minimal effort. On the server-side, Sendbird ensures reliable infra-management services for your chat within the app. This quick start provides the Chat SDK’s structure and installation steps, then goes through the preliminary steps of implementing the Chat SDK in your own project.
Note: Sendbird server supports Transport Layer Security (TLS) from version 1.0 up to 1.3. For example, in the server regions where TLS 1.3 isn’t available, lower versions from 1.2 to 1.0 will be sequentially supported for secure data transmission.
The minimum requirements for Chat SDK for Android are:
Android 4.0 (API level 14) or higher
Java 7 or higher
Gradle 3.4.0 or higher
Our sample app has the core features of the Chat SDK. Download the app from our GitHub repository to get an idea of what you can build with the actual SDK and start building in your project.
Note: The fastest way to see our Chat SDK in action is to build your chat app on top of our sample app. Make sure to change the application ID of the sample app to your own. Go to the Create a Sendbird application from your dashboard section to learn more.
It is simple to implement chat in your client app with the Chat SDK: a user logs in, sees a list of channels, selects or creates a channel, and sends a message to the channel while receiving messages from other users within the channel.
We provide two types of channels: open and group. An open channel is a public channel anyone can participate in and chat with others. A group channel is a private channel that users can join as new members through invitation only, and has numerous distinctive properties and features compared to an open channel. There are a variety of group channel subtypes such as a public group channel working like an open channel.
All sent messages within channels are automatically delivered to channel event handlers registered to your client app. While the
SendBird instance in your user's client app is connected to Sendbird server, the event handlers receive callbacks from the server through
onUserJoined(), and other methods. These callbacks contain message or channel objects with the latest information of an incoming message or other events related to the objects.