Super Board
  • iOS
  • Android : Java
  • Web
  • Introduction
    • Overview
    • Restrictions
  • Sample code
  • Demo app
  • SDK downloads
  • Quick start
  • Guides
    • Draw
    • Turn pages
    • Zoom in or out
    • Switch a whiteboard
    • Get whiteboard list
    • Manage shared files
    • Create and use H5 file
  • Tutorials
    • Create and switch between multiple wihteboards
  • Error codes
  • Server API V2
  • API Documents
  • FAQ
Sample code

Here we provide you with a sample application to experience the ZEGOCLOUD's Super Board, and the following describes how to run the sample code.


  • Android Studio 4.0 or later.

  • Android SDK Packages: Android SDK 30, Android SDK Platform-Tools 30 or later.

  • An Android device or Simulator that is running on Android 5.0 or later and supports audio and video. We recommend you use a real device (Remember to enable the USB debugging).

  • The Android device is connected to the internet.

  • Contact the ZEGOCLOUD Technical Support to get the AppID and AppSign for SDK integration.

  • By default, the features of this product are not enabled. To use these features, you will need to contact ZEGOCLOUD Technical Support to enable them first.
  • For SDK version 2.3.0 or later, you can also use Tokens for authentication. To upgrade the authentication mode, refer to the Upgrade the authentication mode from AppSign to Token.

Run the sample code

  1. In Android Studio, click Open an Existing Project.


  2. Open the ZegoSuperboardDemo folder in the unzipped sample code package.


  3. Modify the file with the AppID and AppSign (remember to add an "L" after the AppID) that you get in the Prerequisites steps.

public class KeyCenter {

    public final static long APP_ID = YOUR_APP_ID;   
    public final static String APP_SIGN = YOUR_APP_SIGN;     

  1. Connect the Android device to your computer, after you enabled the developer mode and USB debugging on the device, the option box in the upper place of Android Studio changes like the following, which means you are ready to run the sample code on the Android device.
  1. Click the Run button to run the sample code and experience the In-app Chat service.


Page Directory
0.1 Prerequisites
0.2 Run the sample code