Hi all,
Im creating a new app based on sport generic and I wonder if the activity icon could be replaced. I haven't found any information about it.
Any ideas? Thanks! :)
Hi all,
Im creating a new app based on sport generic and I wonder if the activity icon could be replaced. I haven't found any information about it.
Any ideas? Thanks! :)
Do you mean the icon you see when looking at the list of activities? The default launcher_icon is just "iq", but you can use whatever you want.
Hi Jim. I mean the sport generic icon (attached pict to illustrate). Regards,

That's based on the SPORT_* you record with.
Ok, so I understand that if you based your app on a SPORT_* you get always the standard icon with no other possibility.
Just to know it, because sport_generic is the only that adapt to me.
Thanks!
The sport used is in the .fit file, and that's what's used to determine this icon. If I use SPORT_HIKING, I get a person hiking, SPORT_WALKING, a person walking, SPORT_RUNNING, a person running.
If you want a different icon, use a different SPORT_*, so that sport will be in the fit file.
Hi @jim_m_58,
Could you explain me what's the difference between ActivityRecording.SPORT_SURFING and ActivityRecording.SPORT_GENERIC? only icon? available metrics? available sensors? can I change my ActivityRecording with no differences?
The truth is I'm working fine with ActivityRecording.SPORT_GENERIC but I wish to change the recording activity icon... any ideas?
Thanks in advance,
Change from SPORT_GENERIC to something else when you create the recording session and you'll get the icon for that sport. The metrics for the sport may also be displayed differently. Try SPORT_SURFING and see what's displayed.