How To Build An Android Video Call App In 10 Minutes
Tags: android, appwritehack, zego, sdk
Published: 2022-11-04 06:51:00

ZEGOCLOUD has launched a new UIKits SDK, which can complete the development of Video Call App in 10 minutes.

Learn about [official website documentation](https://www.zegocloud.com/uikits), ZEGOCLOUD video calling API support 1 on 1 call, and group calls.

**Introduction to UIKits SDK**
[
UIKits SDK](https://www.zegocloud.com/uikits) 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.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c37kc5m5rjyqnegbel5i.png)

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

**

## Preparation
**

- 
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:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lgtnjh0574o5hot242f0.png)

- 
If not, modify your project-level build.gradle file instead:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hcpzfiy9ygl6npq74zc4.png)

**Add ZEGOCLOUD Call Kit.**
Modify your app-level build.gradle file:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i2yivuh52g9k2yru0raa.png)

**Implement Video Call**
Create a new Activity
1 Create a new empty activity and name it CallActivity.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/br81ewm6h1a6djv4sztk.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zm1zape2tvvclxcumgfl.png)

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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wwvsx6022pleszpkc4jo.png)

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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bcjjfjg9hfaejgxx2exq.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xxof9tfiwklxkmhiq1n.png)

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

activity_main.xml:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hzue5y57fpbfro5rmibt.png)

MainActivity.java:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xlfnhr0xqjmz3hi1i42c.png)

**Run a Demo**

https://youtu.be/HDJAJ2trrxc

**Conclusion**

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](https://github.com/DavidReloo/call_kit_demo_android) of this article.

If you have deeper requirements, such as streaming mix, noise reduction, censorship, etc. you can use our [Core SDK](https://www.zegocloud.com/developers/sdks).

If you have any questions, you can always consult us [24h technical support](https://www.zegocloud.com/developers/support)