Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exercise API

ANSWERED

Hi, I was wondering if there was a possibility to measure stats like speed or distance using the Exercise API without having to use the GPS. I was trying some simple examples and all I get using exercise.stats.speed.current is 0. Is there a better possibility to measure speed? Maybe using accelerometer data... Thank you.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

If you're doing a step based activity, then it should work without GPS.

exercise.start("run", { gps: false });

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

If you're doing a step based activity, then it should work without GPS.

exercise.start("run", { gps: false });
Best Answer
0 Votes