Android Getting Started
ConnectyCube Android SDK is a development kit that enables an easy and fast integration of chat, voice & video calling, user authorization, file attachments, push notifications and many other into client apps. No server side implementation required. You fully concentrate on your mobile app development.
If you are looking to build a newly app, we recommend you build a client app on top of our code samples apps. If you already have an app and you are looking to add chat and voice & video calling to it, proceed with this guide. This guide walks you through installing the ConnectyCube SDK in your app, configure it and then sending your first message or initiate a first call.
Before you start
Before initializing ConnectyCube SDK, you need to create a ConnectyCube application on ConnectyCube Dashboard:
- Register an account at https://connectycube.com/signup. If you already have a ConnectyCube account, sign into your account.
- Create a new application and obtain credentials (Application ID, Auth Key, Auth Secret).
Get started
To use chat and calling in a client app, you should install, import and configure ConnectyCube SDK.
Install SDK
To get the ConnectyCube SDK project running you will need Android Studio and Maven installed.
The repository https://github.com/ConnectyCube/connectycube-android-sdk-releases contains binary distributions of ConnectyCube Android SDK and an instruction how to connect SDK to your project. Check it out.
Include reference to sdk repository in your build.gradle file at the app level (top level):
Then include dependencies to particular sdk-modules in build.gradle project file:
Import SDK
Add the following import statement to start using all classes and methods.
Initialize SDK
Initialize the SDK with your ConnectyCube application credentials. You can access your application credentials in ConnectyCube Dashboard:
Configure SDK
An additional set of configs can be configured via ConnectycubeConfig
class:
Integrate chat and voice/video calling features
Follow the API guides on how to integrate chat and calling features into your app: