# Rocket.Chat.Android.SDK **Repository Path**: mirrors_RocketChat/Rocket.Chat.Android.SDK ## Basic Information - **Project Name**: Rocket.Chat.Android.SDK - **Description**: Rocket.Chat's Android Native SDK - DEPRECATED - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-02-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DEPRECATED This is no longer supported, please consider using the [Rocket.Chat.Kotlin.SDK](https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK) instead. Rocket.Chat.Android.SDK ---------------------- This SDK is divided into two parts 1. Core SDK 2. LiveChat SDK This SDK currently provides support to include livechat client functionality in any android app.
**Core SDK** coming soon..... Get it on Google Play Demo -------- LiveChat License ------- MIT License Gradle ------ Add below snippet in build.gradle file. ```Gradle dependencies { compile 'com.github.rocketchat:rocketchatsdk:0.2.0' } ``` [ ![Download](https://api.bintray.com/packages/rocketchat/RocketChat-SDK/RocketChat-Android-SDK/images/download.svg) ](https://bintray.com/rocketchat/RocketChat-SDK/RocketChat-Android-SDK/_latestVersion) How to use ------------- There are two major parts required to be followed #### 1. Set up Application class - Create Custom Application class that extends LiveChatApplication class in the library. Add name of this custom class in the manifest file. Inside onCreate method call setServerUrl(url) passing url of the server as a parameter. Example : 1. Creating custom Application class as "MyApplication" ```java public class MyApplication extends LiveChatApplication { public static String serverurl="wss://livechattest.rocket.chat/websocket"; @Override public void onCreate() { setServerUrl(serverurl); super.onCreate(); } } ``` 2. Declaring class name in manifest file ``` support is a button (required view). Clicking on button will fire intent to open ChatActivity. ``` support.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Intent intent=new Intent(getApplicationContext(),ChatActivity.class); startActivity(intent); } }); ``` For more information refer sample code under 'example' directory.