Documentation and example on FitContributor

I just today switched to SDK 2.1 and I would like to start playing with the fit files through the FitContributor method.
Where can I find some clear documentation or working example to start?
Thanks in advance.
  • Until Strava not update for read fit2.0 files the App that use FitContributor could not upload files without errors.

    GoldenCheetah software has updated.

    Bye
  • Hi,

    I updated other App (powerPeaks) to see the info in the activity session but when i upload the .fit file to GC and it hang, does nothing.

    I créate max 5 session msg for 5 peaks info and the .fit file show ok with monkeygraph and FitToCsv

    save_to_fit = App.getApp().getProperty("save_to_fit_prop");
    if (save_to_fit) {
    peakField = new[max_peaks];
    for( var i = 0; i < max_peaks; i += 1 ) {
    if ( peaks_seconds> 0) {
    //System.println(i+"-"+System.getSystemStats().freeMemory);
    peakField= createField("current_peak"+i, i, FitContributor.DATA_TYPE_STRING, {
    :mesgType => FitContributor.MESG_TYPE_SESSION,
    :count => 6,
    :units => secondsToTime(peaks_seconds)
    });
    } else {
    peakField= null;
    }
    }
    }
    [/CODE]

    I'am in the limit of memory usage 32byte but App run ok.

    Curiosly i can upload to Strava ok with this menssage "File partially damaged, it could have been truncated."

    Thanks
  • GarminConnect uploading hang

    Hi,

    Where i can contact to see because an .fit file hang GarminConnect when uploading?

    Thanks