Skip to main content

Integration options

The UI library is integrated mainly by importing its source code. You can integrate it as a whole, or by module/component. GitHub source code: https://github.com/seastart/meeting-andriod-demo

Whole integration

  • Add the Maven repository to the build.gradle in the root directory
  • Import the StmLink library
  • Add the dependency to the build.gradle in the app directory

Module/component integration

  • Add the Maven repository to the build.gradle in the root directory
  • Add the dependency to the build.gradle in the app directory
  • Copy the modules or components you need from the StmLink library into your project

Whole integration

  1. Create a new project and import the StmLink library as described in Whole integration
  2. Create MyApplication and implement the following code in it
  1. In MainActivity, navigate to a screen in the StmLink library
  1. Implement the activity lifecycle listener. The LifecycleListener class comes from StmLink

Module/component integration

Project structure

Modules: base module, login module, out-of-meeting info module, meeting entry module, and in-meeting module

Base module

The base module includes the SDK entry class, the network request package, the custom UI package, and the utilities package.

Import

Copy the MeetingEngineHelper file and the http, ui, and utils folders under the cn.seastart.stmlink path into your project directory, and they are ready to use.

Usage

Using the SDK entry file
Using the network request module
Using the custom UI package
It contains the custom components used in the project, which you can use by referencing them in XML layout files
Using the utilities package
It contains the utility classes used in the project, mostly static methods or singletons.

Login and registration module

The login and registration module mainly includes the login page, the registration page, and the member profile editing page This is an important module: without login, none of the subsequent operations can run correctly. This module implements app login authorization, Meet authorization, SDK initialization, and IM initialization. After app login authorization completes, you get an app-layer user token. Every app-layer network request must include this token in its request headers

Import

  • Copy the authorize folder under the cn.seastart.stmlink path into your project directory, and it is ready to use

Usage

Navigation
SdkLoginHelper
  • This class implements login in one place. The main steps are: authorization -> SDK login -> IM login. It depends on MeetingEngineHelper (the SDK entry class wrapped at the app layer), so MeetingEngineHelper must be initialized first
  • When an app authorization token already exists and the SDK needs to log in automatically, you can use this class to log in from any screen

Screenshots

Out-of-meeting info module

The out-of-meeting info module mainly includes the upcoming meetings page, the meeting history page, the meeting details page, the contact list page, the contact details page, and the “Me” page

Import

  • Copy the Home, history, meetDetail, and contactDetail packages under the cn.seastart.stmlink path into your project, and they are ready to use

Usage

Screenshots

Meeting entry module

The meeting entry module mainly includes the enter meeting page, the create instant meeting page, the create scheduled meeting page, and the member invitation page The enter meeting and create instant meeting pages go to the in-meeting page by default; the create scheduled meeting page goes to the upcoming meetings page by default

Import

  • Copy the preMeetingRoom and inviteMember packages under the cn.seastart.stmlink path into your project, and they are ready to use.

Usage

Screenshots

In-meeting module

The in-meeting module mainly includes the meeting main page, the member list page, the invite members page, and the chat page The meeting main page includes the single-member view, the multi-member view, the screen sharing view, the composite meeting view, and the quality monitoring data window When you exit the meeting main page, you return to the Home page by default

Import

  • Copy the inviteMember and Meeting packages under the cn.seastart.stmlink path into your project, and they are ready to use

Usage

Screenshots