In this quickstart, you will learn how to use the Interactive Gaming Voice C++ SDK to make a voice call on Android platform.


  1. See Set up the development environment for the prerequisites, environment setup and SDK integration.

  2. When you use the SDK, the steps to add SDK and add sourceSets are different from using Agora Native SDK:

  • Add SDK:

  • Add sourceSets:

    Add the jar package dependency directory under build.gradle as shown:


  1. In the build configuration file:

    • Declare shared library module

    • Export header files for shared libraries

    • Link dynamic library files



  1. Create an IRtcEngine object and fill in your App ID.

    m_lpAgoraEngine = (IRtcEngine *)createAgoraRtcEngine();
    RtcEngineContext ctx;
    // inherit the event handler m_EngineEventHandler from IRtcEngineEventHandler
    ctx.eventHandler = &m_EngineEventHandler;
    // Fill in your App ID
    ctx.appId = APP_ID;
  2. Create and join a channel.

    m_lpAgoraEngine->joinChannel(NULL, "Your Cahnnel Name", NULL, 0);

You can now start 1 on 1 chat or group chat! The only difference is that the number of people joining the same channel.