Changing a session's (sub)activity?

Former Member
Former Member
https://forums.garmin.com/showthread.php?226648-Multi-sport-Mode&goto=newpost

How would I change an activity during a recording? From the API, it looks like you can only set the sport when calling createSession()

Also, I'm a little confused how to record information, is it done automatically when there's an active session?
ie, I enable the GPS and createSession, and it'll store all GPS positions until session.stop()?

Thanks
  • There isn't any way to change the activity type or sub-type after calling createSession().

    I'm currently experimenting with the ActivityRecording module, and it does appear that you have to enable sensors to get data from them. Essentially, if you enable the sensor and start recording, the sensor data will be written to the .FIT file.

    Travis
  • Former Member
    Former Member over 10 years ago
    So if you did want to create a multisport recording, you basically have to save them as seperate FIT/session files? Seems a bit of a shame

    Thanks for letting me know how the recording bit works, I've not had chance to play with it yet
  • Former Member
    Former Member over 10 years ago
    You are correct. Multi-sport recording is not supported in ConnectIQ at this time.
  • Former Member
    Former Member over 10 years ago
    Okay, thanks for the confirmation.
  • Former Member
    Former Member over 10 years ago
    Does multisport work on latest version? Can't get it working with:
    Record.createSession({:name=>"Swim", :sport=>Record.SPORT_MULTISPORT, :subSport=>Record.SUB_SPORT_OPEN_WATER });

    It works on simulator, but fails on Fenix 3.