Java
Adding the Android SDK
The app uses Maven to load the Android SDK:
- Edit the build.gradle for your project (at your project's root) and add the following code snippet to the
allprojects/repositoriessection:
At this point the build.gradle file should look like this:
- Modify build.gradle for your module (the app/build.gradle file) and add the following code snippet to the dependencies section:
When using Vonage Video Android 2.16.0 or above, you will need to add the following to the android section of the app's build.gradle file as well:
At this point the build.gradle file for your module should look like this:
- Sync your project.
Basic video chat
Learn the basic concepts of the Vonage Video API platform, including how users can communicate through video, voice, and messaging. Explore a basic Vonage Video API flow.
Steps
1
Introduction2
Getting Started3
Creating a new project4
Adding the Android SDK5
Setting up authentication6
Requesting permissions7
Connecting to the session8
Adjusting the sample app UI9
Publishing a stream to the session10
Subscribing to other client streams11
Running the app12
Conclusion