Talk to us
Talk to us

How To Build An Android Video Call App In 10 Minutes

How To Build An Android Video Call App In 10 Minutes

ZEGOCLOUD has launched a new UIKits SDK, which can complete the development of the Video Call App in 10 minutes. This tool is extremely useful in building an Android video call.

Learn about official website documentation, ZEGOCLOUD video calling API support 1 on 1 calls, and group calls.

This article will show you how to use the UIKits SDK to quickly implement Android Video Call functionality. We will implement the following functions:

  • 1v1 video call
  • Camera switching
  • Microphone, speaker management

Introduction to UIKits SDK

UIKits SDK is a brand-new pre-built UIKits and UI Components by ZEGOCLOUD. Through it, We can complete the development of video calls, live streaming, video conference, and other scenarios within 10 minutes.

build android video call

As shown in the figure, UIKits SDK is responsible for processing audio and video calls and the logic related to text chat. Include:

  • UI and interaction of the calling module
  • call status management
  • Audio and video data transmission

You only need to implement business-related logic. For example:

  • User login registration
  • Friends List Management
  • Call billing recharge


  • A ZEGOCLOUD developer account–Sign up
  • Android Studio 2020.3.1 or later
  • Devices with Android 5.0 or later
  • Basic understanding of Android development

Call Kit SDK integration

Add the jitpack configuration.

  • If your gradle version is later than 6.8, modify your settings.gradle File like this:
dependencyResolutionManagement {
   repositories {
      maven { url '' } // <- Add this line.
android video call
  • If not, modify your project-level build.gradle file instead:
allprojects {
    repositories {
        maven { url "" }  // <- Add this line.
modify build gradle


Modify your app-level build.gradle file:

dependencies {
    implementation 'com.github.ZEGOCLOUD:zego_uikit_prebuilt_call_android:latest.release'    // add this line in your module-level build.gradle file's dependencies, usually named [app].
add call kit

Implement Video Call

Create a new Activity

1 Create a new empty activity and name it CallActivity.

create call activity

2 modify it’s layout file ‘activity_call.xml’ in res/layout directory.

<?xml version="1.0" encoding="utf-8"?>
    <androidx.constraintlayout.widget.ConstraintLayout xmlns:android=""

config call activity

3 modify CallActivity to show Call Kit UI
When starting a video call, ZegoUIKitPrebuiltCallFragment needs to be displayed on the screen.

public void addFragment() {
    long appID = ;
    String appSign = ;
    String callID = "callID111";
    String userID = Build.MANUFACTURER + "_" + generateUserID();
    String userName = userID + "_Name";
    ZegoUIKitPrebuiltCallConfig config = ZegoUIKitPrebuiltCallConfig.oneOnOneVideoCall();
    ZegoUIKitPrebuiltCallFragment fragment = ZegoUIKitPrebuiltCallFragment.newInstance(appID,      appSign, userID, userName, callID, config);
    getSupportFragmentManager().beginTransaction().replace(, fragment).commitNow();
add call kit ui

modify MainActivity to add a Call Button to start video call.


   <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android=""

        android:text="start video call" />

   public class MainActivity extends AppCompatActivity {

        protected void onCreate(Bundle savedInstanceState) {

            findViewById( -> {
                Intent intent = new Intent(MainActivity.this, CallActivity.class);

Run a Demo


ZEGOCLOUD UIKits SDK saves you a lot of time, allowing you to quickly build a Video Call App, verify market requirements, and seize market opportunities.

If you are interested in developing audio and video applications, you can download the sample demo source code of this article.

For requirements, such as streaming mix, noise reduction, censorship, etc. you can use our Core SDK.

You can always consult us 24h technical support.

Read More

Talk to Expert

Learn more about our solutions and get your question answered.

Talk to us

Take your apps to the next level with our video APIs

Free Trial
  • 10,000 minutes for free
  • 4,000+ corporate clients
  • 3 Billion daily call minutes

Stay updated with us by signing up for our newsletter!

Don't miss out on important news and updates from ZEGOCLOUD!

* You may unsubscribe at any time using the unsubscribe link in the digest email. See our privacy policy for more information.