# hellovolla/android-launcher-qt architecture

> Architecture diagram of the GitHub repository hellovolla/android-launcher-qt, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hellovolla/android-launcher-qt
- Repository: https://github.com/hellovolla/android-launcher-qt

## Overview

Volla Launcher is the primary launcher for Volla Phone. The repository shows an Android/Qt app boundary plus Android integrations for notifications, messaging, Signal, shortcuts, apps, contacts, calls, and wallpaper. A visible workflow is Android notifications reaching the listener/plugin layer, with Signal message queries dispatched back through the Qt bridge; storage and repository code support message data. Several connections are only indicated by source-index references, so unverified links are dashed. The README describes the launcher product but not its internal workflows.

Main entry points: [`android/src/com/volla/launcher/service/NotificationListenerExampleService.java`](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/service/NotificationListenerExampleService.java) (Notification listener), [`android/src/com/volla/launcher/repository/MessageRepository.java`](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/repository/MessageRepository.java) (Message repository), [`android/src/com/volla/launcher/storage/MessageDatabase.java`](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/MessageDatabase.java) (Room database), [`android/src/com/volla/launcher/worker/SignalWorker.java`](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/SignalWorker.java) (Signal bridge)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_launcher["Qt launcher bridge"]
  node_launcher_entry["Qt app entry<br/>[main.cpp]"]
  node_fileio["File I/O<br/>[fileio.cpp]"]
  node_receive_text["Text and shortcuts"]
  node_apps_script["App script<br/>[apps.mjs]"]
  node_contacts_script["Contacts script<br/>[contacts.mjs]"]
  node_springboard_script["Springboard script<br/>[springboard.mjs]"]
end

subgraph group_notifications["Notification handling"]
  node_notification_service["Notification listener"]
  node_notification_plugin["Notification bridge"]
  node_notification_utils["Notification utilities"]
  node_notification_storage["Notification counts"]
  node_notification_model["Notification model<br/>[Notification.java]"]
  node_notification_data["Notification data"]
  node_action["Reply action<br/>[Action.java]"]
end

subgraph group_messaging["Messaging and Signal"]
  node_message_worker["SMS and MMS<br/>[MessageWorker.java]"]
  node_mms_manager["MMS sending<br/>[MMSManager.java]"]
  node_signal_worker["Signal bridge<br/>[SignalWorker.java]"]
  node_signal_util["Signal utilities<br/>[SignalUtil.java]"]
  node_message_repository["Message repository"]
  node_main_view_model["Message view model<br/>[MainViewModel.java]"]
  node_message_db[("Room database")]
  node_message_dao["Message DAO<br/>[MessageDao.java]"]
  node_user_dao["User DAO<br/>[UsersDao.java]"]
  node_message_entity["Message entity<br/>[Message.java]"]
  node_users_entity["User entity<br/>[Users.java]"]
end

subgraph group_android["Android integrations"]
  node_app_worker["App integration<br/>[AppWorker.java]"]
  node_call_worker["Call integration<br/>[CallWorker.java]"]
  node_contact_worker["Contact integration<br/>[ContactWorker.java]"]
  node_shortcuts_worker["Shortcut integration"]
  node_wallpaper_worker["Wallpaper integration"]
  node_settings["Android settings<br/>[Settings.java]"]
end

node_user(("Phone user"))
node_android_system["Android system"]

node_user -.->|"uses"| node_launcher_entry
node_launcher_entry -->|"uses"| node_fileio
node_android_system -->|"delivers intents"| node_receive_text
node_android_system -.->|"posts notifications"| node_notification_service
node_notification_service -.->|"notifies listener"| node_notification_plugin
node_notification_service -.->|"stores messages"| node_message_repository
node_notification_service -.->|"extracts notification data"| node_notification_utils
node_notification_service -.->|"uses model"| node_notification_model
node_notification_plugin -.->|"creates actions"| node_action
node_notification_plugin -.->|"uses utilities"| node_signal_util
node_signal_worker -->|"queries messages"| node_message_repository
node_signal_worker -->|"clears counts"| node_notification_storage
node_signal_worker -->|"enables listener"| node_notification_service
node_message_repository -->|"opens database"| node_message_db
node_message_repository -->|"queries and writes"| node_message_dao
node_message_repository -->|"queries and writes"| node_user_dao
node_message_db -->|"provides DAO"| node_message_dao
node_message_db -->|"provides DAO"| node_user_dao
node_message_db -->|"persists entity"| node_message_entity
node_message_db -->|"persists entity"| node_users_entity
node_main_view_model -->|"uses repository"| node_message_repository
node_message_worker -.->|"references activity"| node_receive_text
node_message_worker -.->|"sends MMS"| node_mms_manager
node_mms_manager -->|"loads settings"| node_settings
node_app_worker -.->|"uses counts"| node_notification_storage
node_app_worker -.->|"loads settings"| node_settings

click node_launcher_entry "https://github.com/hellovolla/android-launcher-qt/blob/master/main.cpp"
click node_fileio "https://github.com/hellovolla/android-launcher-qt/blob/master/fileio.cpp"
click node_receive_text "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/activity/ReceiveTextActivity.java"
click node_notification_service "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/service/NotificationListenerExampleService.java"
click node_notification_plugin "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/NotificationPlugin.java"
click node_notification_utils "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/NotificationUtils.java"
click node_notification_storage "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/NotificationStorageManager.java"
click node_notification_model "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/Notification.java"
click node_notification_data "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/NotificationData.java"
click node_action "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/Action.java"
click node_message_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/MessageWorker.java"
click node_mms_manager "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/MMSManager.java"
click node_signal_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/SignalWorker.java"
click node_signal_util "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/SignalUtil.java"
click node_message_repository "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/repository/MessageRepository.java"
click node_main_view_model "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/repository/MainViewModel.java"
click node_message_db "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/MessageDatabase.java"
click node_message_dao "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/MessageDao.java"
click node_user_dao "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/UsersDao.java"
click node_message_entity "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/Message.java"
click node_users_entity "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/Users.java"
click node_app_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/AppWorker.java"
click node_call_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/CallWorker.java"
click node_contact_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/ContactWorker.java"
click node_shortcuts_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/ShortcutsWorker.java"
click node_wallpaper_worker "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/WallpaperWorker.java"
click node_settings "https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/Settings.java"
click node_apps_script "https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/apps.mjs"
click node_contacts_script "https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/contacts.mjs"
click node_springboard_script "https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/springboard.mjs"

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_launcher_entry,node_fileio,node_receive_text,node_apps_script,node_contacts_script,node_springboard_script,node_user toneBlue
class node_notification_service,node_notification_plugin,node_notification_utils,node_notification_storage,node_notification_model,node_notification_data,node_action toneAmber
class node_message_worker,node_mms_manager,node_signal_worker,node_signal_util,node_message_repository,node_main_view_model,node_message_db,node_message_dao,node_user_dao,node_message_entity,node_users_entity toneMint
class node_app_worker,node_call_worker,node_contact_worker,node_shortcuts_worker,node_wallpaper_worker,node_settings toneRose
class node_android_system toneIndigo
```

## Components

### Qt launcher bridge

- [Qt app entry](https://github.com/hellovolla/android-launcher-qt/blob/master/main.cpp): `main.cpp`
- [File I/O](https://github.com/hellovolla/android-launcher-qt/blob/master/fileio.cpp): `fileio.cpp`
- [Text and shortcuts](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/activity/ReceiveTextActivity.java): `android/src/com/volla/launcher/activity/ReceiveTextActivity.java`
- [App script](https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/apps.mjs): `scripts/apps.mjs`
- [Contacts script](https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/contacts.mjs): `scripts/contacts.mjs`
- [Springboard script](https://github.com/hellovolla/android-launcher-qt/blob/master/scripts/springboard.mjs): `scripts/springboard.mjs`

### Notification handling

- [Notification listener](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/service/NotificationListenerExampleService.java): `android/src/com/volla/launcher/service/NotificationListenerExampleService.java`
- [Notification bridge](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/NotificationPlugin.java): `android/src/com/volla/launcher/util/NotificationPlugin.java`
- [Notification utilities](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/NotificationUtils.java): `android/src/com/volla/launcher/util/NotificationUtils.java`
- [Notification counts](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/NotificationStorageManager.java): `android/src/com/volla/launcher/storage/NotificationStorageManager.java`
- [Notification model](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/Notification.java): `android/src/com/volla/launcher/models/Notification.java`
- [Notification data](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/NotificationData.java): `android/src/com/volla/launcher/models/NotificationData.java`
- [Reply action](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/models/Action.java): `android/src/com/volla/launcher/models/Action.java`

### Messaging and Signal

- [SMS and MMS](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/MessageWorker.java): `android/src/com/volla/launcher/worker/MessageWorker.java`
- [MMS sending](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/MMSManager.java): `android/src/com/volla/launcher/util/MMSManager.java`
- [Signal bridge](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/SignalWorker.java): `android/src/com/volla/launcher/worker/SignalWorker.java`
- [Signal utilities](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/SignalUtil.java): `android/src/com/volla/launcher/util/SignalUtil.java`
- [Message repository](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/repository/MessageRepository.java): `android/src/com/volla/launcher/repository/MessageRepository.java`
- [Message view model](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/repository/MainViewModel.java): `android/src/com/volla/launcher/repository/MainViewModel.java`
- [Room database](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/MessageDatabase.java): `android/src/com/volla/launcher/storage/MessageDatabase.java`
- [Message DAO](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/MessageDao.java): `android/src/com/volla/launcher/storage/MessageDao.java`
- [User DAO](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/UsersDao.java): `android/src/com/volla/launcher/storage/UsersDao.java`
- [Message entity](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/Message.java): `android/src/com/volla/launcher/storage/Message.java`
- [User entity](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/storage/Users.java): `android/src/com/volla/launcher/storage/Users.java`

### Android integrations

- [App integration](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/AppWorker.java): `android/src/com/volla/launcher/worker/AppWorker.java`
- [Call integration](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/CallWorker.java): `android/src/com/volla/launcher/worker/CallWorker.java`
- [Contact integration](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/ContactWorker.java): `android/src/com/volla/launcher/worker/ContactWorker.java`
- [Shortcut integration](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/ShortcutsWorker.java): `android/src/com/volla/launcher/worker/ShortcutsWorker.java`
- [Wallpaper integration](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/worker/WallpaperWorker.java): `android/src/com/volla/launcher/worker/WallpaperWorker.java`
- [Android settings](https://github.com/hellovolla/android-launcher-qt/blob/master/android/src/com/volla/launcher/util/Settings.java): `android/src/com/volla/launcher/util/Settings.java`

### Other components

- **Phone user**
- **Android system**

## Connections

- Phone user → Qt app entry: uses
- Qt app entry → File I/O: uses (evidence: `main.cpp`)
- Android system → Text and shortcuts: delivers intents (evidence: `android/src/com/volla/launcher/activity/ReceiveTextActivity.java`)
- Android system → Notification listener: posts notifications
- Notification listener → Notification bridge: notifies listener (evidence: `android/src/com/volla/launcher/service/NotificationListenerExampleService.java`)
- Notification listener → Message repository: stores messages (evidence: `android/src/com/volla/launcher/service/NotificationListenerExampleService.java`)
- Notification listener → Notification utilities: extracts notification data (evidence: `android/src/com/volla/launcher/service/NotificationListenerExampleService.java`)
- Notification listener → Notification model: uses model (evidence: `android/src/com/volla/launcher/service/NotificationListenerExampleService.java`)
- Notification bridge → Reply action: creates actions (evidence: `android/src/com/volla/launcher/util/NotificationPlugin.java`)
- Notification bridge → Signal utilities: uses utilities (evidence: `android/src/com/volla/launcher/util/NotificationPlugin.java`)
- Signal bridge → Message repository: queries messages (evidence: `android/src/com/volla/launcher/worker/SignalWorker.java`)
- Signal bridge → Notification counts: clears counts (evidence: `android/src/com/volla/launcher/worker/SignalWorker.java`)
- Signal bridge → Notification listener: enables listener (evidence: `android/src/com/volla/launcher/worker/SignalWorker.java`)
- Message repository → Room database: opens database (evidence: `android/src/com/volla/launcher/repository/MessageRepository.java`)
- Message repository → Message DAO: queries and writes (evidence: `android/src/com/volla/launcher/repository/MessageRepository.java`)
- Message repository → User DAO: queries and writes (evidence: `android/src/com/volla/launcher/repository/MessageRepository.java`)
- Room database → Message DAO: provides DAO (evidence: `android/src/com/volla/launcher/storage/MessageDatabase.java`)
- Room database → User DAO: provides DAO (evidence: `android/src/com/volla/launcher/storage/MessageDatabase.java`)
- Room database → Message entity: persists entity (evidence: `android/src/com/volla/launcher/storage/MessageDatabase.java`)
- Room database → User entity: persists entity (evidence: `android/src/com/volla/launcher/storage/MessageDatabase.java`)
- Message view model → Message repository: uses repository (evidence: `android/src/com/volla/launcher/repository/MainViewModel.java`)
- SMS and MMS → Text and shortcuts: references activity (evidence: `android/src/com/volla/launcher/worker/MessageWorker.java`)
- SMS and MMS → MMS sending: sends MMS
- MMS sending → Android settings: loads settings (evidence: `android/src/com/volla/launcher/util/MMSManager.java`)
- App integration → Notification counts: uses counts (evidence: `android/src/com/volla/launcher/worker/AppWorker.java`)
- App integration → Android settings: loads settings (evidence: `android/src/com/volla/launcher/worker/AppWorker.java`)
