How exelecakl/android-mirror works
Android Mirror is a native Windows desktop app for discovering Android devices, pairing over wireless or using USB, and managing independent mirror sessions. The main workflow runs from the launcher through device and transport management into an engine process and a per-device mirror window. The graph also preserves the documented advanced controls, tray/background sharing, settings, and app/engine update capabilities. Some feature implementations were not sampled, so their connections are included only where the README or source index supports them.
Main entry points: Shell.cs Launcher and settings · Devices.cs Device controller · Connection.cs Connection and sessions · WindowsIntegration.cs Windows shell and tray
Components 22
Desktop app
- Launcher and settings
src/Shell.cs - Saved preferences
src/Devices.cs - Advanced options
src/EngineUi.cs - Wireless pairing UI
src/WirelessUi.cs
Devices and mirroring
- Device controller
src/Devices.cs - USB device discovery
src/Connection.cs - Wireless pairing and discovery
src/Wireless.cs - Connection and sessions
src/Connection.cs - Mirror engine
engine/Android Mirror Runtime.bin - Mirror window and sharing
src/ScreenSharingWindow.cs - Engine option catalog
src/EngineOptions.cs
Updates
- App update UI
src/AppUpdatesUi.cs - App release checks
src/AppUpdates.cs - App installer updates
src/AppUpdater.cs - Engine update UI
src/EngineUi.cs - Engine release updates
src/EngineUpdates.cs - Engine installer
src/EngineUpdater.cs
Windows integration
- Windows shell and tray
src/WindowsIntegration.cs - App identity
src/WindowsAppIdentity.cs
Other components
- User
- GitHub releases
- Android devices
Connections 31
- User → Launcher and settings: operates
README.md - Launcher and settings → Device controller: manages devices
src/Shell.cs - Launcher and settings → Wireless pairing UI: initializes
src/Shell.cs - Launcher and settings → App update UI: initializes
src/Shell.cs - Launcher and settings → Engine update UI: initializes
src/Shell.cs - Launcher and settings → Windows shell and tray: uses tray
src/Shell.cs - Launcher and settings → Saved preferences: loads and saves
README.md - Launcher and settings → Advanced options: opens settings
src/EngineUi.cs - Device controller → USB device discovery: tracks devices
src/Devices.cs - Device controller → Connection and sessions: creates sessions
src/Devices.cs - Device controller → Saved preferences: updates profiles
src/Devices.cs - Device controller → Wireless pairing and discovery: uses paired transports
- Wireless pairing UI → Wireless pairing and discovery: runs pairing
src/WirelessUi.cs - Android devices → USB device discovery: connects by USB
README.md - Android devices → Wireless pairing and discovery: pairs over Wi-Fi
README.md - Wireless pairing and discovery → USB device discovery: runs ADB commands
src/Wireless.cs - Connection and sessions → USB device discovery: starts ADB server
src/Connection.cs - Connection and sessions → Mirror engine: launches process
src/Connection.cs - Mirror engine → Mirror window and sharing: renders mirror
- Advanced options → Engine option catalog: searches options
src/EngineUi.cs - Connection and sessions → Engine option catalog: builds arguments
src/EngineOptions.cs - App update UI → App release checks: checks releases
src/AppUpdatesUi.cs - App release checks → GitHub releases: checks and downloads
README.md - App update UI → App installer updates: installs update
src/AppUpdatesUi.cs - Engine update UI → Engine release updates: checks releases
src/EngineUi.cs - Engine release updates → GitHub releases: checks and downloads
README.md - Engine release updates → Engine installer: installs verified files
src/EngineUpdates.cs - Engine installer → Mirror engine: updates binaries
src/EngineUpdater.cs - Windows shell and tray → App identity: uses app identity
src/WindowsIntegration.cs - Windows shell and tray → Launcher and settings: restores launcher
README.md - Mirror window and sharing → Windows shell and tray: supports capture
README.md