I have custom fit data I'm saving when leaving an app to add too when I restart the app. I'm using application storage to do this. On exiting I have 2 choices either record the .fit file or discard it. What I would like to do is append to the .fit file on returning to the app. I don't want to lose the heart rate data, speed, elevation, etc. all that generic information that's in the file. Is there a way I can prevent the .fit file from recording without discarding it? I'm using Session.start(), .stop and .discard. Not sure what .save() does. Any suggestions, work around welcomed.
1st Start app --- do some stuff creates fit data
done?
Yes -- record fit data
No -- save fit data for later
2nd Start app
got fit data?
yes -- append to it
no -- create fit data
regards,
Don