Java

Creating the Project

You will start by creating a new Android Studio project:

  1. Open Android Studio and, from the menu, select File > New > New Project.... Select a Empty Views Activity template type and click Next.

  2. Enter VonageVideoTutorialApp as project name.

  3. Select Java as the language.

  4. Choose a folder to save the project to.

  5. Select Groovy DSL for the build configuration language, and press Finish button.

  6. You now have a brand new Android Studio project.

Installing the SDK

Now that the Android Studio project is created you can install the Vonage Video SDK. We will be doing this using Maven:

  1. Update the dependencies in the app level build.gradle file to include the Vonage Video SDK:
    implementation "com.opentok.android:opentok-android-sdk:2.29.0"
    
  2. Sync your Gradle project and Android Studio will now download the SDK.

Basic text chat

Follow this tutorial to build basic text chat from scratch using the Vonage Video API. It is the quickest way to build a proof of concept for this functionality on the video platform.

以下の言語で利用可能:
JavaScript Java Swift
手順
1
Overview
2
Before You Begin
3
Configure a Vonage Video Application
4
Creating the Project
5
Setting Up Authentication
6
Connecting to the Session
7
Sending a Signal
8
Receiving a Signal
9
Testing your Code
10
Conclusion