title: How to track distance via GPS on Android?
body: <p>How would I go about tracking the distance a user travels? I don't necessarily care about storing waypoints, although that may be necessary to calculate distance anyway.
  So far, I am creating a <em>LocationManager</em> and regsitering an <em>onLocationChanged</em> listener, and then calculating the raw distance between two points when the listener fires.</p>
  
  <p>The problem here is that if I leave the app sit still on a desk for 10, 15 minutes, it will say I have traveled .5 miles. How should I go about checking for accuracy and determining which points to use?</p>
  
  <p>Or, even better - is there an SDK or .jar I can just include in my project and call their functions to make this whole thing easier?</p>
  
  <p>Thank you for your time.</p>