Sendbird provides the chat API and SDK for your app, enabling real-time communication among the users. Here are various samples built using Sendbird Chat SDK.
-
Chat sample has core chat features. Group channel and open channel are the two main channel types in which you can create various subtypes where users can send and receive messages. This sample is written in Java with Sendbird Chat SDK.
-
Chat (Local Caching) sample has core chat features with local caching enabled. It only supports group channel in which you can create various subtypes where users can send and receive messages. This sample is written in Java with Sendbird Chat SDK.
-
SyncManager sample is equipped with a local cache along with core chat features. For faster data loading and caching, the sample synchronizes with the Sendbird server and saves a list of group channels and the messages within the local cache into your client app. This sample is written in Java with Sendbird SyncManager and Sendbird Chat SDK. Find more about SyncManager on Sendbird SyncManager document.
To use our Android samples, you should first install Chat SDK for Android 3.0.96 or higher on your system.
Sample | Android | Java | Gradle |
---|---|---|---|
Chat | 4.1 (API level 16) or higher | 7 or higher | 3.4.0 or higher |
Chat (Local Caching) | 4.1 (API level 16) or higher | 7 or higher | 3.4.0 or higher |
SyncManager | 4.1 (API level 16) or higher | 7 or higher | - |
You can clone the project from the Chat sample repository.
// Clone this repository
git clone git@github.com:sendbird/SendBird-Android.git
// Move to the Chat sample
cd SendBird-Android/basic
You can clone the project from the Chat sample repository.
// Clone this repository
git clone git@github.com:sendbird/SendBird-Android.git
// Move to the Chat sample
cd SendBird-Android/local-caching
You can clone the project directly from the SyncManager sample repository.
// Clone this repository
git clone git@github.com:sendbird/SendBird-Android.git
// Move to the SyncManager sample
cd SendBird-Android/syncmanager