STANDALONE APK / MOBILE Capacitor 8 Android Native APK & MapLibre Web

TripMap: Convoy Navigation & Native Voice

Open-source multi-modal convoy navigation app compiled to a standalone Android APK via automated GitHub Actions CI. Engineered with unblockable quad-redundant native TTS voice guidance, auto-rerouting, road speed limit detection, and Android Auto projection.

Capacitor 8 (APK) MapLibre GL OSRM Routing Native TTS Voice Android Auto GitHub Actions CI
🖼️ Visual System Architecture & Interface
TripMap: Convoy Navigation & Native Voice
SDK 35 (Java 21)
Android Build
Quad-Redundant
Audio Bridge
Zero Server
Solo Driving
Android Auto
Head Unit Display

🎯 Mobile Engineering Challenge

Hybrid WebView apps frequently suffer from silent audio failure: mobile OS aggressive power management suspends WebView JavaScript timers, cutting off turn-by-turn spoken guidance right before highway junctions.

🔊 Unblockable Quad-Redundant Native Voice Bridge

To guarantee voice synthesis never drops while driving across Canterbury highways:

  1. Synchronous Prompt Intercept: BridgeWebChromeClient.onJsPrompt catches voice commands synchronously without async queue stalls.
  2. Capacitor NativeTTSPlugin: Bypasses the HTML5 Web Speech API directly into Android’s low-level TextToSpeech engine.
  3. Dedicated Background Threading: Dispatches TTS audio tasks off the main UI rendering thread to eliminate frame stutters.
  4. AudioManager Audio-Ducking: Automatically monitors STREAM_MUSIC volume and temporarily ducks background podcasts/music during navigation turns.

📱 Standalone APK Delivery & Android Auto

  • Automated CI/CD: Authored .github/workflows/build-android-apk.yml to compile, lint, sign, and export standalone Android APKs on every commit.
  • Field Tested in Canterbury: Installed and verified on physical Android hardware across Christchurch, Rolleston, and Banks Peninsula.
  • Android Auto: Full media/navigation projection for vehicle infotainment head units.

💻 Tech Stack & Repositories

  • Mobile Runtime: Capacitor 8, Android SDK 35, Java 21, Gradle.
  • Mapping & Routing: MapLibre GL, OSRM (Open Source Routing Machine), Overpass API.
  • Backend & Gateway: Node.js, WebSockets (for peer convoy sync).
  • GitHub Repository: TripMap.git