I updated other App (powerPeaks) to see the info in the activity session but when i upload the .fit file to GC dont get response, 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 get upload to Strava the same fit file.
The files : https://drive.google.com/folderview?id=0B37JA9sj_DjHREVwb1VwUGU4YnM&usp=sharing
Thanks