In this guide, weвЂ™ll create a video that is basic software in 10 simple actions, utilising the Agora.io Movie SDK for Android Os.
- Android Studio
- Base level knowledge of Java therefore the Android os SDK
- An Agora.io Developer Account
Step one: Agora.io Account
When you complete the process that is sign-up you’ll be rerouted towards the Dashboard. Start the Projects tab regarding the nav that is left-hand visit your standard projectвЂ™s App ID.
Action 2: Make an Android App
Within Android os Studio, develop a brand new single task application.
Step three: Incorporate the Agora SDK
There are 2 approaches to include the Agora Video SDK into the task. You need to use JCenter or perhaps you can manually include the SDK. With this task we are going to include the task utilizing JCenter.
Include the line that is following the /app/build.gradle file of the task:
Put up Agora APP ID ###
Then, its time and energy to add your Agora.io App ID (see Step-1) towards the Android os projectвЂ™s Strings.xml (app/src/main/res/values/Strings.xml).
The step that is next to incorporate the right permissions within Manifest.xml
The step that is final to stop obfuscation regarding the Agora classes, although this may appear complex it is actually easy. Into the proguard-rules.pro file, include:
NOTE: Ensure that the Android NDK plugin is set up and setup with this task
Step four: Setup views
Given that we now have the Agora.io SDK incorporated, letвЂ™s arranged our UI. We shall breeze through this part even as we should be making use of standard UI elements.
When you look at the example, We thought we would utilize ImageView in place of Button when it comes to various elements that are UI. Either works, the essential component would be to keep in mind that you will find functions that individuals url to making use of the onClick home. Read more