This is NOT an application provided by Garmin.
This application retrieves live activity data from your Garmin devices and shows it on the screen.
An apk release build is available in the release assets of this repo: v1.0
- Garmin Connect is installed on your phone
- This application is installed on your phone
- PhoneActivity is installed on your Garmin device: Github PhoneActivity
To show your activity on your phone:
- Connect your Garmin device to your phone.
- Open the PhoneActivity app on your Garmin device.
- Wait for a GPS signal (shown on top).
- Open the GarminLive app on your phone.
- Press start to begin your activity.
The easiest way to contribute/build/try with the code is to import this project into android studio.
To show the mapbox map, create a free mapbox code, create a secrets.xml file in the values folder. And past in the following content:
<resources>
<string name="mapbox_access_token">PASTE_YOUR_TOKEN_HERE</string>
</resources>
And create a secret access token to download the mapbox sdk, which is exampled here: Mapbox Docs.
To test the application without connecting to a Garmin device. Load the mock controller by commenting and uncommenting the corresponding line in the setupActivity function in MainActivity.kt.
- Use an old phone as a head unit on your bike, it you have a Garmin watch.
- The only activity type that is supported is Cycling.