I am developing a demo for my app, in which there are two buttons named as "START" and "STOP". When user taps on "START" he will start walking. What I want to do is make it so that when users tap "STOP" then the demo will calculate his distance between "START" and "STOP". If the user pressed "START" and pressed "STOP" without taking a single step, then it must show 0km or 0m. I don't have any idea how I should start this; please make a suggestion.
The most popular way to track your walking is through a tracking app on your smartphone. They can record your distance, the amount of steps taken and even your elevation whilst walking. You can also use a pedometer or wrist fitness band, which tracks your steps and most will work out the distance walked as well.
Mobile Phone GPS Apps In the ancient past (as in, just a few years ago) you needed a special GPS unit to measure walking distance via satellite technology. But now GPS is built into your smartphone and is used by walking apps that can track your speed and distance, such as MapMyWalk.
There are different ways to do this:
You can also check Pedestrian dead reckoning
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With