Find the walking distance using Accelerometer
<p>Need to make an app in which user can find the walking distance between two points.</p>

<p>The Concept is like user will start the app and start walking and after taking a few steps he will click some button which will show him the distance traveled by him from the point where he just started the App. and to where he stopped.</p>

<p>I know we can find the distance between two location by using CLLocation Class but the challenge is to get the accurate measurements up to say 3 meters.</p>

<p>Even I am not sure that we can use accelerometer as If I'm at rest, the accelerometer detects only acceleration due to gravity. This obviously set the walking distance to 0 so dont know how will I detect the starting point.</p>

<p>Any hint/suggestion on the same would be a great help to me.</p>
