English | 简体中文
TUIKit_Android is a powerful UI component library built on top of Tencent Cloud's AtomicXCore SDK. AtomicXCore integrates the core capabilities of Tencent Cloud Real-Time Communication (TRTC), Instant Messaging (IM), Audio/Video Calling (TUICallEngine), and Room Management (TUIRoomEngine), providing a state-driven API design.
TUIKit_Android provides a set of pre-built user interfaces (UI) on top of the core capabilities offered by AtomicXCore, enabling you to quickly integrate video live streaming, voice chat rooms, audio/video calling, and other features into your Android applications without worrying about complex backend logic and state management.
TUIKit_Android provides complete UI implementations for the following core business scenarios based on AtomicXCore:
Video/Voice Live Streaming:
Audio/Video Calling:
Instant Messaging (Chat):
git clone https://github.com/Tencent-RTC/TUIKit_Android.git
TUIKit_Android depends on AtomicXCore, which in turn depends on RTCRoomEngine. The dependencies are managed through Gradle.
cd TUIKit_Android/application
# Open in Android Studio and sync project
Open the project in Android Studio, configure your Tencent Cloud SDKAppID, UserID, and UserSig (usually configured in the GenerateTestUserSig file), then build and run.
The architecture design of TUIKit_Android follows layered principles:
TUIKit_Android (UI Layer):
Store in AtomicXCore to get state and update UI.Store methods in AtomicXCore to respond to user operations.AtomicXCore (Core Layer):
LiveListStore, CallListStore, ConversationListStore) responsible for managing business logic and state.LiveCoreView, ParticipantView) provide UI-less view containers that drive video rendering.RTCRoomEngine, TUICallEngine, and IMSDK, providing unified APIs.Tencent Cloud SDK (Engine Layer):
RTCRoomEngine & TUICallEngine: Provide underlying real-time audio/video capabilities.IMSDK: Provides instant messaging capabilities.This project is licensed under the MIT License.
TUIKit_Android/ ├── application/ # Demo application │ ├── build.gradle │ ├── settings.gradle │ └── app/ ├── atomic_x/ # AtomicX UI components │ ├── src/ # Kotlin/Java source files │ └── res/ # Android resources ├── call/ # TUICallKit components └── live/ # Live streaming components
Before you begin development, ensure you have:
Development Environment:
Tencent Cloud Account:
Clone and Setup:
git clone https://github.com/Tencent-RTC/TUIKit_Android.git
cd TUIKit_Android/application
# Open in Android Studio
Configure Credentials:
GenerateTestUserSig.java or GenerateTestUserSig.ktBuild and Run:
We welcome contributions! Please see our Contributing Guide for details on how to submit pull requests, report issues, and contribute to the project.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)See CHANGELOG.md for a detailed history of changes to this project.