Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

Mobile Guidelines — Android

This topic addresses considerations when developing for an Android device:

Permissions

The OpenTok Android SDK uses following permissions:

You do not need to add these to your app manifest. The OpenTok Android SDK adds them automatically. However, if you use Android 21+, certain permissions require you to prompt the user.

Your app can remove any permissions requested by the OpenTok Android SDK that it does not use. See this post and this Android documentation. For example, this removes the android.permission.CAMERA permission:

<uses-permission android:name="android.permission.CAMERA" tools:node="remove"/>

Creating a VoIP app using the Android ConnectionService

Use the Android ConnectionService class to create a VoIP app that uses the audio-video capabilities of the OpenTok Android SDK.

At a minimum, follow these guidelines to create a basic VoIP app:

See the sample VOIP app in the opentok-android-sdk-samples repo. It shows how to implement the ConnectionService class to create a VoIP app that uses the OpenTok Android SDK.

More information

For more information, see: