title: android How to get Exact travelled distance by android device
body: <p>I don't want to use Google direction API services. want to exact location traveled by phone. And right now I am using gps like :
                      locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, this);</p>
  
  <p>this is giving me distance. But if i stay one place not running, driving distance also calculated in total distance and finally getting wrong distance.
  any better idea to calulate right distance between the points ?</p>