I want to make a custom odometer data field for Edge devices. My motivation is twofold:
1) the current odometer is not uniform across activity profiles. I have several cycling profiles and each has its own totals. I want proper total distance
2) There is no easy way to offset the distance on Garmin Express.
What I basically want to do is have a float that is stored as a property. The current distance then gets added to it. This should be quite simple.
However, learning how to use storage is quite confusing.
1) How do I create a resource file and how do I type in the properties and settings? I just need one single number that can be altered in Garmin expres
2) How do I access it? Do I need to create an app object or can I just use Application.getApp().getValue() and ~setValue() respectively?
I would greatly appreciate any help/outline of the steps I need to follow in order. And please, don't reference the examples from the SDK, they seem too complicatd (and I already made 2 data fields without understanding them, so :p )
Many thanks!