# xxxjppp/bogo_live_android architecture

> Architecture diagram of the GitHub repository xxxjppp/bogo_live_android, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xxxjppp/bogo_live_android
- Repository: https://github.com/xxxjppp/bogo_live_android

## Overview

布谷直播 is an Android live-streaming application with beauty effects, social feeds, auctions, in-room games, and Tencent IM UI. A principal user journey is entering the app, authenticating, and joining or hosting a live room; the README documents those stages and related capabilities, but the relevant screen implementations are mostly outside the supplied tree. The map therefore uses documented product structure and sampled module relationships; dashed, uncited links indicate workflow connections that could not be verified from excerpts.

Main entry points: [`bogoLive/src/main/java/com/bogokj/hybrid/activity/MainActivity.java`](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/hybrid/activity/MainActivity.java) (App entry), [`bogoLive/src/main/java/com/bogokj/live/activity/LiveLoginActivity.java`](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/live/activity/LiveLoginActivity.java) (Login), [`bogoLive/src/main/java/com/bogokj/games`](https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/games) (Game logic), [`tuikit/src/main/java/com/tencent/qcloud/tim/uikit/TUIKit.java`](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/TUIKit.java) (IM toolkit)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App entry"]
  node_main["App entry<br/>[MainActivity.java]"]
  node_login["Login"]
  node_init["Runtime setup"]
end

subgraph group_live["Live features"]
  node_rooms["Live rooms"]
  node_room_business["Room business"]
  node_beauty["Beauty effects"]
end

subgraph group_commerce["Interactive features"]
  node_auction["Auctions"]
  node_dynamic["Social feed"]
  node_game_business["Game logic"]
  node_game_runtime["Bet runtime"]
end

subgraph group_messaging["Messaging UI"]
  node_tui["IM toolkit<br/>[TUIKit.java]"]
  node_conversations["Conversations"]
  node_group_members["Group members"]
  node_group_apply["Group requests"]
end

subgraph group_media["Media tools"]
  node_social_share["Social sharing"]
  node_image_loader["Image loading<br/>[GlideEngine.java]"]
end

node_user(("Viewer / host"))

node_user -.->|"opens"| node_main
node_main -.->|"starts login"| node_login
node_login -.->|"enters room"| node_rooms
node_rooms -.->|"uses"| node_room_business
node_rooms -.->|"offers effects"| node_beauty
node_rooms -.->|"offers auctions"| node_auction
node_rooms -.->|"links social feed"| node_dynamic
node_rooms -.->|"offers games"| node_game_business
node_game_business -.->|"uses runtime"| node_game_runtime
node_tui -->|"supports"| node_conversations
node_group_members -.->|"manages separately"| node_group_apply
node_social_share -->|"shares content"| node_user
node_image_loader -->|"loads media"| node_user

click node_main "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/hybrid/activity/MainActivity.java"
click node_login "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/live/activity/LiveLoginActivity.java"
click node_init "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/live/common/AppRuntimeWorker.java"
click node_room_business "https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/live/common"
click node_beauty "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoBeauty/src/main/java/cn/tillusory/tiui/fragment/TiStickerFragment.java"
click node_auction "https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/auction"
click node_dynamic "https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/dynamic"
click node_game_business "https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/games"
click node_game_runtime "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLiveGame/src/main/java/com/bogokj/libgame/BetGameManager.java"
click node_tui "https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/TUIKit.java"
click node_conversations "https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/conversation/ConversationManagerKit.java"
click node_group_members "https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/member/GroupMemberManagerFragment.java"
click node_group_apply "https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/apply/GroupApplyManagerActivity.java"
click node_social_share "https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/hybrid/umeng/UmengSocialManager.java"
click node_image_loader "https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/component/picture/imageEngine/impl/GlideEngine.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_login,node_init,node_user toneBlue
class node_rooms,node_room_business,node_beauty toneAmber
class node_auction,node_dynamic,node_game_business,node_game_runtime toneMint
class node_tui,node_conversations,node_group_members,node_group_apply toneRose
class node_social_share,node_image_loader toneIndigo
```

## Components

### App entry

- [App entry](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/hybrid/activity/MainActivity.java): `bogoLive/src/main/java/com/bogokj/hybrid/activity/MainActivity.java`
- [Login](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/live/activity/LiveLoginActivity.java): `bogoLive/src/main/java/com/bogokj/live/activity/LiveLoginActivity.java`
- [Runtime setup](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/live/common/AppRuntimeWorker.java): `bogoLive/src/main/java/com/bogokj/live/common/AppRuntimeWorker.java`

### Live features

- **Live rooms**
- [Room business](https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/live/common): `bogoLive/src/main/java/com/bogokj/live/common`
- [Beauty effects](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoBeauty/src/main/java/cn/tillusory/tiui/fragment/TiStickerFragment.java): `bogoBeauty/src/main/java/cn/tillusory/tiui/fragment/TiStickerFragment.java`

### Interactive features

- [Auctions](https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/auction): `bogoLive/src/main/java/com/bogokj/auction`
- [Social feed](https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/dynamic): `bogoLive/src/main/java/com/bogokj/dynamic`
- [Game logic](https://github.com/xxxjppp/bogo_live_android/tree/master/bogoLive/src/main/java/com/bogokj/games): `bogoLive/src/main/java/com/bogokj/games`
- [Bet runtime](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLiveGame/src/main/java/com/bogokj/libgame/BetGameManager.java): `bogoLiveGame/src/main/java/com/bogokj/libgame/BetGameManager.java`

### Messaging UI

- [IM toolkit](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/TUIKit.java): `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/TUIKit.java`
- [Conversations](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/conversation/ConversationManagerKit.java): `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/conversation/ConversationManagerKit.java`
- [Group members](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/member/GroupMemberManagerFragment.java): `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/member/GroupMemberManagerFragment.java`
- [Group requests](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/apply/GroupApplyManagerActivity.java): `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/group/apply/GroupApplyManagerActivity.java`

### Media tools

- [Social sharing](https://github.com/xxxjppp/bogo_live_android/blob/master/bogoLive/src/main/java/com/bogokj/hybrid/umeng/UmengSocialManager.java): `bogoLive/src/main/java/com/bogokj/hybrid/umeng/UmengSocialManager.java`
- [Image loading](https://github.com/xxxjppp/bogo_live_android/blob/master/tuikit/src/main/java/com/tencent/qcloud/tim/uikit/component/picture/imageEngine/impl/GlideEngine.java): `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/component/picture/imageEngine/impl/GlideEngine.java`

### Other components

- **Viewer / host**

## Connections

- Viewer / host → App entry: opens
- App entry → Login: starts login
- Login → Live rooms: enters room
- Live rooms → Room business: uses
- Live rooms → Beauty effects: offers effects
- Live rooms → Auctions: offers auctions
- Live rooms → Social feed: links social feed
- Live rooms → Game logic: offers games
- Game logic → Bet runtime: uses runtime
- IM toolkit → Conversations: supports (evidence: `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/modules/conversation/ConversationManagerKit.java`)
- Group members → Group requests: manages separately
- Social sharing → Viewer / host: shares content (evidence: `bogoLive/src/main/java/com/bogokj/hybrid/umeng/UmengSocialManager.java`)
- Image loading → Viewer / host: loads media (evidence: `tuikit/src/main/java/com/tencent/qcloud/tim/uikit/component/picture/imageEngine/impl/GlideEngine.java`)
