Hi,
I make an app, when I launch an activity (through ActivityRecording.createSession).
I made a lap through mysession.addLap()
I get the Info through the Activity.getActivityInfo();
and I get the averageSpeed through info.averageSpeed.
But what I wanted to have is the averageSpeed from the last lap, and not from the start , and I don't find it ...
Do I need to calculate myself ? Because, I don't see either the distance done since the last lap ...
And another question : How to enable the GPS in an app ; because it seems that my app didn't search the GPS.
Thanks for your help.
Rgds