Skip to content

About

RunTrack GPS: a native Android running app (Kotlin, Jetpack Compose, Google Maps) - live GPS route, pace and distance goals, voice commands and coaching, calorie tracking, favourite destinations with walking routes, and run history. By Tertiary Infotech Academy.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🏃 RunTrack GPS — Android

Platform Kotlin Compose Maps Google Play

A clean, lightweight native Android running app — track your run by GPS, watch your route draw live, and reach your distance goal with voice feedback.

Get it on Google Play

Get RunTrack GPS on Google Play → · package com.tertiaryinfotech.runtrackgpsapp

Screenshot

RunTrack GPS — set your distance goal and start running

About

The native Android port of RunTrack GPS. Built entirely with Kotlin + Jetpack Compose and an MVVM architecture, it mirrors the iOS app feature-for-feature: pick a preset or custom distance goal, start running, and the app tracks distance, pace, and time in real time while drawing your route on a live Google Map — even with the screen locked.

Key Features

  • 🧭 Five tabs — Run, History, Settings, Feedback, About
  • 🎯 Goals — distance dropdown from 1 km to a full marathon, or a custom distance
  • 🛰️ Real-time GPS tracking with noise filtering (rejects poor accuracy, jitter, unrealistic jumps)
  • 🗺️ Live route map (Google Maps Compose) with start marker, my-location and follow-me camera
  • ⭐ Favourite destinations — save your current spot or search a place; the shortest walking route is drawn with its distance and walking time before you start
  • ↩️ Back to Start during a run, with an always-visible distance from your start point
  • 🔥 Calorie tracking from your body weight — live, on the summary and in history
  • ⏱️ Distance, pace & time updating live, with a big glanceable readout
  • 🗣️ Voice commands — "start / pause / resume / stop" (Android SpeechRecognizer)
  • 🔊 Voice coaching — each km reports distance to go, calories and average pace, plus 25 / 50 / 75 % checkpoints; music is briefly lowered while the coach speaks
  • 🏆 Run history — Week / Month / All Time stats, personal-record trophies, run details and Run It Again
  • 🎉 Goal reached — the run auto-saves and keeps tracking, with a celebration banner
  • 🎨 Settings for coach volume, coaching over music, favourite music app and colour themes

See CHANGELOG.md for release history.

Tech Stack

Layer Technology
Language Kotlin 2.1
Routing Google Routes API (walking directions) + Android Geocoder place search
UI Jetpack Compose + Material 3 (minSdk 26 / Android 8)
Architecture MVVM (single coordinating RunViewModel)
Location FusedLocationProvider with GPS filtering (tracks while the app is open)
Maps Google Maps Compose (maps-compose)
Voice input android.speech.SpeechRecognizer
Voice output android.speech.tts.TextToSpeech
Persistence SharedPreferences + kotlinx.serialization (local, on-device)
Build Gradle (Kotlin DSL), AGP 8.10

Architecture

┌──────────────────────── Compose Screens ───────────────────────┐
│ Home · Run · Completion · History · RunDetail · Destinations   │
│ Settings · Feedback · About  (RootScreen bottom-tab host)       │
└───────────────────────────────┬─────────────────────────────────┘
                                │ observe Compose state
                       ┌────────▼─────────┐
                       │   RunViewModel    │   ← MVVM coordinator
                       │  (state + actions)│
                       └──┬────┬────┬───┬──┘
            ┌─────────────┘    │    │   └─────────────┐
   ┌────────▼───────┐ ┌────────▼─┐ ┌▼──────────────┐ ┌▼──────────────┐
   │ LocationManager│ │RunTimer  │ │VoiceCommand   │ │SpeechFeedback │
   │ Fused + filter │ │Manager   │ │Manager (STT)  │ │ (TTS)         │
   └───────┬────────┘ └──────────┘ └───────────────┘ └───────────────┘
           │ route + distance
   ┌───────▼────────┐  ┌────────────────┐
   │   RouteMap      │  │   RunStore      │
   │ (Google Maps)   │  │ SharedPreferences│
   └────────────────┘  └────────────────┘

RunViewModel is the single source of truth: it owns the four managers, collects their StateFlows, recomputes pace, fires de-duplicated milestone announcements, detects goal completion, and drives navigation. Screens are thin and read only from the view model.

Getting Started

Prerequisites

  • Android Studio (Ladybug or newer) with the Android SDK (compileSdk 36)
  • A Google Maps API key — see PLAY_STORE_SETUP.md
  • An Android phone (Android 8+) with USB debugging on, or an emulator with Google Play services

Configure

Add your Maps key to local.properties (gitignored — never commit it):

sdk.dir=/Users/you/Library/Android/sdk
MAPS_API_KEY=AIza...your_key...

Build & run

# Debug APK
./gradlew :app:assembleDebug

# Install on a connected device / running emulator
./gradlew :app:installDebug
# or
adb install -r app/build/outputs/apk/debug/app-debug.apk

Grant Location and Microphone when prompted.

Permissions

The app requests ACCESS_FINE/COARSE_LOCATION (tracking while the app is open), RECORD_AUDIO (voice commands) and INTERNET (map tiles and walking directions). Run history stays on the device — nothing is uploaded.

Releasing to Google Play

Live on Google Play as RunTrack GPS (com.tertiaryinfotech.runtrackgpsapp, published by Tertiary Infotech Academy Pte Ltd) — 1.11.0 (versionCode 4).

See PLAY_STORE_SETUP.md for the full, click-by-click guide: signing keystore, building the release App Bundle (.aab), and configuring the Play Console listing, content rating, and data-safety form.

License

Released under the MIT License.

Developed By

Tertiary Infotech Academy Pte Ltd

About

RunTrack GPS: a native Android running app (Kotlin, Jetpack Compose, Google Maps) - live GPS route, pace and distance goals, voice commands and coaching, calorie tracking, favourite destinations with walking routes, and run history. By Tertiary Infotech Academy.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages