メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Android Platform Overview

Twilio's Programmable Video Android SDK lets you add real time voice and video to your native Android applications.

前提条件

  • Android Studio 2.0 or higher
  • Support for Android API level 16 or higher
  • Support for Java 8

Run the QuickStart app

To get started with Twilio Video, you should download and run the QuickStart application.

The QuickStart repository contains additional examples. These examples demonstrate the usage of new features and also help you build more complex applications.

To add Video to your app, follow the Getting Started Guide

Add the SDK

The Android Video SDK is distributed through jCenter.

To install the Android Video SDK, ensure the following configuration is in your build.gradle file:

Gradle

allprojects {
    repositories {
        jcenter()
    }
}

// The Video library resides on jcenter
implementation 'com.twilio:video-android:5.1.0'

android {
    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
}

Proguard

Add the following lines to your proguard-project.txt file.

-keep class tvi.webrtc.** { *; }
-keep class com.twilio.video.** { *; }
-keepattributes InnerClasses

サポートされるデバイス

Android SDKでは、Android API Level 16以上をサポートします。 armeabi-v7a、arm64-v8a、x86, 及び x86_64 アーキテクチャー向けにビルドされています。

リリース通知

Watch the video-android project on Bintray to get notified of all future releases.

Rate this page:

ヘルプが必要ですか?

誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。