- Introduced TrackingRepository to manage activity tracking state and GPS points. - Implemented LocationTrackingService for foreground GPS tracking using FusedLocationProviderClient. - Created data models GpsPoint and TrackingState to represent tracking data. - Enhanced TrackActivityScreen with UI for selecting activity type and displaying tracking status. - Added LocationUtils for geospatial calculations, including distance tracking and loop closure detection. - Updated build.gradle.kts to include Google Play Services Location dependency.
5.8 KiB
5.8 KiB