I am creating a Running App. I am trying to compute the distance run after Button is pressed (start running/walking) adding the distance of each segment. The next point of the segment is update every 5 seconds of walk/run getting the new location. Why is it that the “Total distance” run/walked does not appear? Did I put the blocks right?
I also would like the long number appearing in “Distance of segment” show a let’s say “1km 20m” run/walked. How to do that? Thanks
This is my Running App project
P.S. I am not using Google Distance Matrix API because it limits the number of free API calls and for a Running App these calls have to be made often (for each segment run/walked). It also needs internet connection