OpenTracks is a sport tracking application that completely respects your privacy.
Free (F-Droid) | Free (Nightly for F-Droid) | Donations |
---|---|---|
|
|
|
|
|
Translations are hosted on
hosted.weblate.org.
-
Tracking: track your sport and outdoor activities
-
Voice announcements
-
Photos and Markers: mark interesting locations while tracking
-
Export:
-
Altitude:
- gain/loss via barometric sensor (if present)
- shown in EGM2008 (above mean sea level); exported as WGS84
-
Bluetooth LE sensors:
- heart rate
- cycling: speed and distance
- cycling: cadence
- cycling: power meter
- running: speed and cadence
- support for BLE sensor training only (i.e., without GPS) for indoor training
An overview of tested sensors: README_TESTED_SENSORS.md
OpenTracks can be used with Gadgetbridge:
- shows statistics via notification on smart watches (requires Gadgetbridge 0.56.1 or later), and
- Gadgetbridge's GPX exporter generates
opentracks:trackid
to avoid duplication (Gadgetbridge 0.53.0 or later).
- No Internet access: Internet is not used
- No advertising
- No in-app analytics
- No use of Google Play Services
Only required permissions:
- ACCESS_FINE_LOCATION: required to use the GPS.
- ACCESS_BACKGROUND_LOCATION: required to start recording with GPS while phone is in standby. (e.g. when triggered by Public API from an external device)
OpenTracks includes an API for starting/stopping recording by another installed application (e.g., Automate, Tasker, or Easer). The API can be invoked by sending an explicit Intent to start an activity.
Package
(depends on the variant installed):
- F-Droid:
de.dennisguse.opentracks
- GooglePlay:
de.dennisguse.opentracks.playStore
- Debug:
de.dennisguse.opentracks.debug
- Nightly:
de.dennisguse.opentracks.nightly
Class
:
- Start a recording:
de.dennisguse.opentracks.publicapi.StartRecording
- Stop a recording:
de.dennisguse.opentracks.publicapi.StopRecording
For testing via adb: adb shell am start -e someParameter someValue -n "package/class"
StartRecording
supports the following parameters:
- Set track data:
TRACK_NAME
,TRACK_DESCRIPTION
,TRACK_CATEGORY
, andTRACK_ICON
(non-localized identifier see /src/main/java/de/dennisguse/opentracks/util/TrackIconUtils.java#L38). NOTE: ifTRACK_ICON
is not present,TRACK_CATEGORY
will be used to determine the icon (localized). - Send recorded data to another application via Dashboard API:
STATS_TARGET_PACKAGE
andSTATS_TARGET_CLASS
The Public API is disabled by default to protect the user's privacy, but it can easily be enabled in the settings.
GPX 1.1 | KML 2.3 | KMZ 2.3 | |
---|---|---|---|
OpenLayers 7.1.0 | ? | no | no |
Golden Cheetah 3.5 | ? | no | no |
GpxPod | ? | ? | ? |
OsmAnd | ? | no | no |
FitTrackee | yes | n/a | n/a |
As of v3.3.1, OpenTracks supports custom dashboards for displaying previously recorded and live tracks.
The reference implementation is OSMDashboard, which presents an OpenStreetMap map (showing the current track, incl. updates). The Dashboard API is also used by Gadgetbridge for displaying live track statistics on supported wearables.
Alternatively, recorded tracks can be shared as KMZ/GPX with installed applications ( e.g., OsmAnd). However, this is rather slow and does not provide updates while recording.
The developer documentation is in README_API.md.
OpenTracks is based upon Google My Tracks app (code). My Tracks was initially released by Google in 2010 as open-source software. In 2016, Google decided to discontinue My Tracks and stopped distributing it via the Google Play store in April 2016. Then Plonk42 conducted some maintenance work until 2016, so My Tracks could still be used (based upon version Google's MyTracks version 2.0.6). Plonk42's version is available here. In 2019, OpenTracks was forked from Plonk42's My Tracks and major rework was conducted.
Rework of OpenTracks included:
- removing Google's analytics code,
- removing integration into Google Drive,
- removing Google Maps integration,
- removing Google Earth integration,
- removing use of Google Play service,
- removing calorie estimation and activity estimation,
- removing support for ANT+ and Classic Bluetooth,
- adding support for Bluetooth LE heart rate sensors,
- removing Protobuf (store sensor data in SQLite columns directly), and
- removing Android Service API for other apps.
Artwork, logos and user interface remained more or less unchanged.
More information about Google My Tracks: