Skip to content

amit-100ms/sample-app-android

 
 

Repository files navigation

100 ms - Android Application

Here you will find everything you need to build experiences with video using 100ms Android SDK. Dive into our SDKs, quick starts, add real-time video, voice, and screen sharing to your web and mobile applications.

Pre requisites

  • Android Studio 3.0 or higher
  • Support for Android API level 24 or higher
  • Support for Java 8
  • This application uses build tool version 30.0.2

Supported Devices

The Android SDK supports Android API level 24 and higher. It is built for armeabi-v7a, arm64-v8a, x86, and x86_64 architectures.

Setup Guide

  • Clone this repository

    git clone --depth 1 https://github.com/100mslive/sample-app-android.git
  • Host your token generation service following this guide

  • Create app/gradle.properties

    cp app/example.gradle.properties app/gradle.properties
  • Put your endpoint URL as TOKEN_ENDPOINT in app/gradle.properties. Make sure it ends with a backslash (/) For example:

    TOKEN_ENDPOINT="https://example-tokenservice.runkit.sh/" # Valid
    TOKEN_ENDPOINT="https://example-tokenservice.runkit.sh" # Invalid
  • Create firebase project and save the google-services.json in app/google-services.json

Run the application

Run using Emulator

Follow the official guide at developers.android.com to download and deploying app in a emulator.

Run on Device (recommended)

Follow the official guide at developers.android.com to setup your mobile device for development.

On the first time of launch, user will be prompted with permissions. Then you are good to go to run the application.

Layout

In the launch screen, here we have two options:

Join meeting

  • Paste the exact Room ID as obtained from the create-room API

  • Click Join Now.

  • Video Conversation will be started

Create a Room

  • Specify a meeting name and click on Start Meeting

100ms SDK Documentation

Refer the Getting Started - Android guide in 100ms Gitbook.

About

Android App in Kotlin using 100ms SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 68.3%
  • Java 31.7%