When creating a session, and using addLap during it,
it seem that when you close your session, a "final" lap is always created.
In my case this add a spurious lap !
is it the usual usage ?
should I take care of that in another way ?
thanks
Dunno if this helps, but try thinking of it this way:
- Every lap has a beginning and an end
- When you start an activity, that's also the start of the first lap
- When you end an activity, that's the end of the current lap
- When the app calls addLap() or the user presses Lap in a built-in activity, that's the end of the current lap and the start of a new one
So you'll always have at least one lap. Every call to addLap() adds an extra lap.
Or how about this: Don't think of addLap() as "adding a lap record to the FIT file", think of it as "starting a new lap in the activity".
When you think of it this way, there's no spurious laps.