Skip to main content


Setting up android sdk#

Android SDK is client for real-time communication for android devices. It inherits the same terminology as all other SDKs does.

Minimum OS/SDK versions#

It supports the following OS/SDK versions.

Android: minSdkVersion >= 18#


Step 1: Add the repo to project root's build.gradle file.#

allprojects {  repositories {    // ...    maven { url '' }  }}

Step 2: Add the following dependency in your app's app/build.gradle:#

dependencies {        implementation 'live.videosdk:android-sdk:0.0.1'
        // other app dependencies}


Step 1: Add the following permissions in AndroidManifest.xml#

<uses-permission android:name="android.permission.RECORD_AUDIO" /><uses-permission android:name="android.permission.CAMERA" /><uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /><uses-permission android:name="android.permission.BLUETOOTH" />

Step 2: Extend the class and create class with the following code:#
package live.videosdk.demo;
public class MainApplication extends Application {    @Override    public void onCreate() {        super.onCreate();
        VideoSDK.initialize(getApplicationContext());    }}

Step 3: Also add MainApplication to AndroidManifest.xml#

<application        android:name=".MainApplication"                ...>  <!-- ... --></application>

Step 4: In your add the following code in onCreate() method:#
@Overrideprotected void onCreate(Bundle savedInstanceState) {  super.onCreate(savedInstanceState);  setContentView(R.layout.activity_main);
  final String meetingId = "<meeting-id>";  final String participantName = "John Doe";
  final boolean micEnabled = true;  final boolean webcamEnabled = true;
  // generate the jwt token from your api server and add it here  VideoSDK.config("JWT TOKEN GENERATED FROM SERVER");
  // create a new meeting instance  Meeting meeting = VideoSDK.initMeeting(          MainActivity.this, meetingId, participantName,          micEnabled, webcamEnabled  );
  // get permissions and join the meeting with meeting.join();  // checkPermissionAndJoinMeeting();}

Step 4: All set! Here is the link to the complete sample code on Github. Please refer to the documentation for a full list of available methods, events and features of the SDK.#