DEV Community

Cover image for How To Build A Video Streaming App For Android Native (Java/Kotlin)
Jason Wills
Jason Wills

Posted on • Updated on • Originally published at


How To Build A Video Streaming App For Android Native (Java/Kotlin)

In this post, we will look at how to build a video streaming app for Android Native EnableX Low-Code Video Embed and Android Native (Java/Kotlin).

To gain understanding about the Low Code Video Embed, read the following blogs:

  • EnableX Low Code Video Embed
  • EnableX Video Embed Advantages


  • Android Studio 3 or above and Android devices 6 or above.
  • Go to Enablex-Low-Code-Video-embed to learn details of low code steps

Create a Project
To start with, create a Video Embed Project in the EnableX portal:

  • Go to the EnableX portal. If you do not have an account, Signup here.
  • Next, “Create Projects”, enter relevant information.
  • Now, select “Video Embed” in the “Service” section.
  • Once you are done with project creation, “APP ID” and “APP Key” are generated. You will require these credentials (“APP ID” and “APP Key”) later to gain access in the EnableX Meeting Room.

Therefore, it is advisable to save this for further use (see Embed the Meeting URL).

Let’s Start Building

  • Open Android Studio and select – Start a new Android Studio project.
  • On the Choose your project panel, select > Phone and Tablet > Empty Activity, and then click Next.
  • Now, click Finish. Follow the on-screen instructions if you need to install any plug-ins. Add Required App Permissions Add required permissions (for camera/audio media) in the /App/Src/Main/AndroidManifest.Xml file for device access according to your needs:

Image description

You need to use Webview class. Create custom WebChromeClient class and override onPermissionRequest method:

Image description

Then, create a WebUtils helper class to configure the WebView. Here is a possible configuration:

Image description

Finally, setup your activity following these steps:

  • Configure the webView.
  • Request the permissions if needed.
  • Add the? skipMediaPermissionPrompt parameter to the room URL and load it.

Here is an example:

Image description

Image description

Hey! You can go live now.

Image description

To conclude
We hope you will find this blog useful and easy to follow, even if you have not built a livestreaming app before.

To try it out, simply sign up here for free

Top comments (0)