Activity Recording Contents

Hello again, 

Trying to get an activity recording to be displayed in garmin connect, but wondering if I start a session, does the activity recording use different  default fields linked to the activity type selected, or is everything recorded by default and what is displayed is different?? If so does anyone know what the fields are for each activity? Or do you manually need to tell the session every field you want recorded. ( I thought that was fit field module purpose ) 

  • See the recording sample in the SDK for the basics.  You will want to enable and sesors used, but the FW take care of recording those.  When you record a session there are a number of things recorded by default.  It's only when you want to add your own additional data do you need to use fit contributor. 

  • Thanks, but I've looked at the recording sample, and it does not enable any sensors? So what is being recorded in the example?  Is it the same stuff... for example if I use the Garmin Boat activity and then check connect, if I record using sport Boat, will it record the same data ? I've set permissions on in the manifest, but do I also have to enable sensor for the default fields to actually record something or by default will they record nothing?

  • You want to enable the sensors you want recorded, say heartrate and temperature:

    Sensor.setEnabledSensors([Sensor.SENSOR_HEARTRATE,Sensor.SENSOR_TEMPERATURE]);

    start GPS if you want that:

    Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method(:onPosition));

    before you start recording.  Without doing that you get some data in the fit, like distance based on steps for example.

  • Thanks Jim, you are a wizard with Monkey C !  I will give it a go and see what it records.