

- #AGORA VIDEO CALL EXAMPLE ANDROID HOW TO#
- #AGORA VIDEO CALL EXAMPLE ANDROID FOR ANDROID#
- #AGORA VIDEO CALL EXAMPLE ANDROID ANDROID#
- #AGORA VIDEO CALL EXAMPLE ANDROID CODE#
The code samples in this section are in ViewChatViewActivity.java. To configure 1-to-1 communication resources: Each button uses the assets described above. This view contains other views.Ī view displaying the remote, incoming video feed (for example, the video the user will see).Ī smaller view at the top right corner showing the local video feed.Ī layout that encapsulates four buttons: Pause Video, Audio Mute, Switch Camera, and Hang Up. The main aspects of this layout are shown here:Ī view that handles the main video feed. The sample contains a single activity called VideoChatViewActivity and its layout is defined in /layout/activity_video_chat_view.xml. In the AndroidManifest.xml file, uses-permissions settings were added for the Internet, audio recording, audio settings, network state, camera, and Bluetooth to allow the app to access these features:Īdd the following icon assets for the user interface to the /res/drawable folder: AssetĪn image of a red telephone for a hang up button.Īn image of a camera and rotational arrows to switch between the two cameras.Īn image of an arrow indicating that audio chat is enabled.Ī desktop icon for users to invoke the sample application. This should display the application on your device.įor details about the APIs used to develop this sample, see the Agora.io Documentation version 2.2.
#AGORA VIDEO CALL EXAMPLE ANDROID ANDROID#

#AGORA VIDEO CALL EXAMPLE ANDROID HOW TO#
This section shows you how to prepare, build, and run the sample application. A real device is recommended because some simulators have missing functionality or lack the performance necessary to run the sample.

Once you finish the sign-up process, you will be redirected to the Dashboard.
#AGORA VIDEO CALL EXAMPLE ANDROID FOR ANDROID#
This tutorial and project have been updated to use v3.4.1 of the Agora Video for Android SDK In this guide, we’ll build a basic video chat app in 10 easy steps, using the Agora.io Video SDK for Android.
