DEV Community

Cover image for How To Build An Android Video Call App In 10 Minutes
ZEGOCLOUD Dev
ZEGOCLOUD Dev

Posted on

How To Build An Android Video Call App In 10 Minutes

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

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

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.

Image description

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

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

Image description

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

Image description

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

Image description

Image description

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

Image description

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

Image description

Image description

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

activity_main.xml:

Image description

MainActivity.java:

Image description

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 of this article.

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

If you have any questions, you can always consult us 24h technical support

Top comments (0)