English | 中文
This project presents you a set of API examples to help you understand how to use Agora APIs.
- Android Studio 3.0+
- Physical Android device
- Android simulator is supported
This section shows you how to prepare, build, and run the sample application.
To build and run the sample application, get an App Id:
-
Create a developer account at agora.io. Once you finish the signup process, you will be redirected to the Dashboard.
-
Navigate in the Dashboard tree on the left to Projects > Project List.
-
Save the App Id from the Dashboard for later use.
-
Save the App Certificate from the Dashboard for later use.
-
Open
Android/APIExample-Compose
and edit thelocal.properties
file. UpdateYOUR APP ID
with your App Id, updateYOUR APP CERTIFICATE
with the main app certificate from dashboard. Note you can leave the certificate variablenull
if your project has not turned on security token.// Agora APP ID. AGORA_APP_ID=YOUR APP ID // Agora APP Certificate. If the project does not have certificates enabled, leave this field blank. AGORA_APP_CERT=YOUR APP CERTIFICATE
You are all set. Now connect your Android device and run the project.
- For potential issues, take a look at our FAQ first
- Dive into Agora SDK Samples to see more tutorials
- Take a look at Agora Use Case for more complicated real use case
- Repositories managed by developer communities can be found at Agora Community
- You can find full API documentation at Document Center
- If you encounter problems during integration, you can ask question in Stack Overflow
- You can file bugs about this sample at issue
The MIT License (MIT)