How prol3/volumotion works
VoluMotion is an Android app for touch-free system-volume control using hand rotations, with optional driving-aware background monitoring. The main workflow starts when the user enables the app in the UI: a foreground service analyzes camera frames, hand landmarks are interpreted as rotation, and the resulting direction changes system volume. The service also manages pause/resume and notification behavior; GPS speed monitoring supports automatic driving-mode activation. The README documents these relationships, but the Kotlin files were not sampled, so the graph reflects documented architecture rather than verified call sites.
Main entry points: HandGestureService.kt Foreground service · MainActivity.kt Main activity · DrivingModeDetector.kt Driving detector · HandDetector.kt Hand landmark detection
Components 13
App controls
- Main activity
app/src/main/java/com/example/handgesturevolume/ui/MainActivity.kt - Permission manager
app/src/main/java/com/example/handgesturevolume/utils/PermissionManager.kt - Foreground service
app/src/main/java/com/example/handgesturevolume/service/HandGestureService.kt
Gesture recognition
- CameraX analysis
- Hand landmark detection
app/src/main/java/com/example/handgesturevolume/core/HandDetector.kt - MediaPipe
- Rotation analysis
app/src/main/java/com/example/handgesturevolume/core/RotationDetector.kt
Driving mode
- Driving detector
app/src/main/java/com/example/handgesturevolume/utils/DrivingModeDetector.kt - GPS location
Android integrations
- Volume controller
app/src/main/java/com/example/handgesturevolume/utils/VolumeController.kt - Android audio
- Persistent notification
Other components
- User
Connections 14
- User → Main activity: operates
README.md - Main activity → Permission manager: manages permissions
README.md - Main activity → Foreground service: starts and controls
README.md - Foreground service → CameraX analysis: analyzes frames
README.md - Foreground service → Hand landmark detection: processes frames
README.md - Hand landmark detection → MediaPipe: tracks landmarks
README.md - Foreground service → Rotation analysis: evaluates motion
README.md - Foreground service → Volume controller: changes volume
README.md - Volume controller → Android audio: controls audio
README.md - Foreground service → Driving detector: monitors driving
README.md - Driving detector → GPS location: reads location
README.md - Foreground service → Persistent notification: updates notification
README.md - Persistent notification → Foreground service: pauses or resumes
README.md - Driving detector → Foreground service: triggers monitoring
README.md