No symbol for swim action in protocol data

Former Member
Former Member
Hi everyone,
i am trying to program a triathlon app for my new vivoactive watch.
I think it should work as far as i want but there is one issue i can not solve right now:

If the watch saves the sessions, this only works fine for bike and run action. For the swim action there is always the icon missing (i mean the icon in the lower right corner of the display if you look at the saved data)

I create the sessions for triathlon with the parameters for ":sport=>" and ":subsport=>":
SPORT_SWIMMING = 5
SUB_SPORT_LAP_SWIMMING = 17

SPORT_CYCLING = 2
SUB_SPORT_ROAD = 7

SPORT_RUNNING = 1
SUB_SPORT_STREET = 2

It works with cycling and running but not with swimming and i don't know why??

All other data is displayed correctly.
  • For the swim action there is always the icon missing (i mean the icon in the lower right corner of the display if you look at the saved data)

    Where are you looking when you expect to see this icon? In the activity history? On Garmin Connect?

    I create the sessions for triathlon with the parameters for ":sport=>" and ":subsport=>":

    Are you using :subsport or :subSport? The case of the symbol name is important.

    Travis
  • If you're talking about history on the watch, on the va and va-hr you only get icons for things that have native apps, so for example, I'll get the icon if I record a walk, but not a hike.

    Or are you talking about an icon somewhere else?
  • Former Member
    Former Member over 8 years ago
    Are you using :subsport or :subSport? The case of the symbol name is important.

    Travis


    Thank you Travis for your advice! Now it is working fine, i've used subsports and not subSports - unbelivable that this is such a big deal...
    I meant the small icon which is displayed in the lower right corner if you open the "protocol" data directly on the device.
    On Garmin connect, everything is shown correctly.