AV
angelvelasquez.dev
Mobile Systems Logistics & Automotive Audio Utility

Blumax - Native Bluetooth Audio Routing Engine

Ultra-low-latency real-time Bluetooth audio routing and lifecycle management for Android logistics.

Blumax - Native Bluetooth Audio Routing Engine • Production Showcase
Mobile Systems
Blumax - Native Bluetooth Audio Routing Engine
Engineering Role
Mobile Engineer & Designer
Timeline
2024
Architecture Stack
Kotlin 2.1 Jetpack Compose Android Bluetooth Audio APIs Foreground Services Clean Architecture Coroutines & Flow
Key Architectural Metrics
Foreground Service
Battery-Efficient Lifecycle
Bluetooth APIs
Real-Time Audio Routing
Kotlin 2.1
Jetpack Compose & Clean Arch

Executive Summary

Blumax is a specialized native Android utility engineered to solve audio channel switching conflicts for delivery drivers and logistics operators. The app provides seamless, hands-free hardware routing between Bluetooth earpieces and external vehicular speaker systems during active navigation and dispatch calls.

The Architectural Challenge

  • Android Audio Focus Lifecycle: Managing background process lifecycles and audio device arbitration across modern Android OS versions (Android 10 through 15).
  • Battery Efficiency: Ensuring long-running background services consume minimal power during active driving shifts.
  • Real-Time Audio Routing: Guaranteeing deterministic routing changes when switching between voice commands and vehicle stereo output.

Engineering Solutions & Strategy

  1. Jetpack Compose Modern UI: Built an ergonomic, high-contrast dark interface optimized for quick glanced interactions while mounted in vehicles.
  2. Android Foreground Service Engine: Implemented resilient sticky foreground services with exact notification channels adhering to modern Android 14+ background execution policies.
  3. Reactive State via Kotlin Flow: Used StateFlow and SharedFlow to bind Bluetooth hardware state transitions reactively to the presentation layer.

Key Architectural Metrics

  • Optimized Energy Consumption: Foreground service configured for minimal background resource drain.
  • Real-Time Audio Routing: Direct hardware-level routing between Bluetooth devices and vehicle speakers.
  • Broad Device Compatibility: Tested and verified across multiple Android OEMs (Samsung, Xiaomi, Motorola).