Skip to content

Android Application for One2One Video and Audio call to mobile app or web application using VdoTok SDK.

Notifications You must be signed in to change notification settings

vdotok/Android-one2one

Repository files navigation

VdoTok-Android-One2OneCall

Git Installation

  • Please follow this link for GIT installation

IDE Installation & Build Guide

Requirements:

  • Android Studio 4.1.2 or later (Stable Version)
  • Click here to download and install Android Studio

Code setup:

  • Open Android Studio
  • Click on Get from Version Control or in case the Welcome page doesn't open, go to File Menu->New and select Project From Version Control
  • Select Repository URL from left menu
  • Select Git from Version control dropdown menu
  • Paste this URL https://github.com/vdotok/Android-one2one.git in URL section
  • Click on Clone button and wait for build.gradle file. You can see the progress at the bottom of Android Studio
  • Go to file menu/app menu Tools -> SDK Manager
  • Click all checkboxes from API Level 21 and onward
  • Click Apply and download relevant packages
  • Let the Android Studio install the components

Bravo! You’ve successfully configured the project in Android Studio.

Download Call Lib:

Configure Lib:

  • In Android Studio File Explorer, select Project

123636395-41e08980-d836-11eb-8643-429d6e5510d5

  • Go to VdoTok-Call -> App -> libs
  • Add the downloaded streamingSDK.aar file in the libs folder

Screenshot 2021-10-06 at 2 15 14 PM

  • After this, click on gradle sync icon Screenshot 2021-12-02 at 4 43 51 PM from the toolbar to sync project.

  • Project Signup:

    • Register your account on VdoTok to get the Project ID and API Service URL
    • From file explorer, double-click on vdotok-call -> app -> src -> main -> java -> com -> vdotok -> one2one -> utils -> ApplicationConstants, and replace SDK_PROJECT_ID with your own Project Id
    • From file explorer, double-click on vdotok-call -> Network -> src -> main -> java -> com -> vdotok -> network -> utils -> Constants, and replace BASE_URL with your own API Service URL
      OR
      You can use the QR code scanner provided on the Login and Signup screens once you have built the application on your device.
    • You can get the QR code by signing in to your Vdotok account at https://console.vdotok.com/apitoken/

    Device Setting:

    • To connect a device, enable “developer mode” and “USB debugging” by following the device-specific steps provided here.
    • Some devices need “Install Via USB” option below the “USB debugging” settings to be enabled in order to install the application in the device via USB.
    • Click here for additional device specific settings.

    Build Project:

    • Connect your phone with system in a File-sharing Mode
    • You can find your phone name in running devices list, as described in the below image
    • Select your device and click on Play buttonScreenshot 2021-09-21 at 1 19 15 PM
    • After running some automated commands and building gradle, your app will be installed on your connected device

    Screenshot 2021-06-29 at 6 59 36 PM

    About

    Android Application for One2One Video and Audio call to mobile app or web application using VdoTok SDK.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages