How praveen0586/bridge--mac-to-android-connect works
The repository appears to be a Flutter desktop tool for connecting to Android devices, browsing their files, and transferring files through ADB. The README is only the Flutter starter-project template, and no Dart implementation was excerpted, so the feature flow and links among its Dart components are provisional. Native Windows and Linux startup relationships are supported by excerpts; the platform runner components below are included because the source index identifies them as core modules.
Main entry points: adb_client.dart ADB client · device_controller.dart Device controller · device_screen.dart Device screen · browser_controller.dart Browser controller
Components 28
Flutter app
- App entry
lib/main.dart
Device access
- Device screen
lib/features/device/presentation/device_screen.dart - Device controller
lib/features/device/controller/device_controller.dart - Device detection
lib/features/device/services/device_detection_service.dart - Device info
lib/features/device/services/device_info_service.dart - Device metadata
lib/features/device/models/device_metadata.dart - ADB client
lib/core/adb/adb_client.dart - ADB process
lib/core/adb/adb_process_manager.dart - ADB resolver
lib/core/adb/adb_executable_resolver.dart - Bundled ADB
assets/bin/adb
File workflows
- File browser
lib/features/browser/presentation/file_browser_view.dart - Browser controller
lib/features/browser/controller/browser_controller.dart - Browser service
lib/features/browser/services/file_browser_service.dart - Listing parser
lib/features/browser/services/file_browser_parser.dart - Remote entries
lib/features/browser/models/remote_file_entry.dart - Transfer controller
lib/features/transfer/controller/transfer_controller.dart - Transfer service
lib/features/transfer/services/transfer_service.dart - Transfer state
lib/features/transfer/models/transfer_state.dart
Desktop hosts
- Windows startup
windows/runner/main.cpp - Windows Flutter host
windows/runner/flutter_window.h - Windows window
windows/runner/win32_window.h - Linux startup
linux/runner/main.cc - Linux app host
linux/runner/my_application.h - Linux plugin registration
linux/flutter/generated_plugin_registrant.h - Windows plugin registration
windows/flutter/generated_plugin_registrant.h - macOS plugin registration
macos/Flutter/GeneratedPluginRegistrant.swift
Other components
- User
- Android device
Connections 25
- User → App entry: opens
- App entry → Device screen: shows
- Device screen → Device controller: delegates to
- Device controller → Device detection: checks devices
- Device controller → Device info: loads details
- Device detection → ADB client: queries via
- Device info → ADB client: queries via
- ADB client → ADB process: runs commands
- ADB process → ADB resolver: resolves executable
- ADB resolver → Bundled ADB: may use
- ADB client → Android device: communicates with
- Device controller → Device metadata: uses
- Device screen → File browser: opens browser
- File browser → Browser controller: delegates to
- Browser controller → Browser service: requests listings
- Browser service → ADB client: uses
- Browser service → Listing parser: parses output
- Listing parser → Remote entries: creates entries
- Browser controller → Transfer controller: initiates transfer
- Transfer controller → Transfer service: delegates to
- Transfer controller → Transfer state: updates state
- Transfer service → ADB client: uses
- Windows startup → Windows Flutter host: creates
windows/runner/main.cpp - Windows Flutter host → Windows window: extends
windows/runner/flutter_window.h - Linux startup → Linux app host: starts
linux/runner/main.cc