title: How To Calculate Distance Between Two Points in Driving Direction Mode in Android
body: <p>everyone... 
  I have something to ask about using a MapView in Android with Google Maps API..</p>
  
  <p>I've read about how to make a Geopoint or more and find a distance between 2 points..</p>
  
  <p>One thing that still makes me confuse is about calculating a distance between 2 points. I've tried and find the result but it's applied if the condition is when I want to make a straight line between those points. But, when I crosscheck with maps.google.com, the result (distance) is different with the same latitude and longitude of those points. And I realize that its a kind of a Driving Direction.. </p>
  
  <p><a href="http://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=-7.963292,%20112.608129&amp;daddr=-7.96583,%20112.607633&amp;hl=en&amp;geocode=FWR9hv8dgUO2Bg;FXpzhv8dkUG2Bg&amp;mra=ls&amp;sll=-7.963899,112.608469&amp;sspn=0.002614,0.005284&amp;ie=UTF8&amp;ll=-7.964308,112.608774&amp;spn=0.002614,0.005284&amp;z=18" rel="nofollow">example of Google Map Web</a></p>
  
  <p>If you see the picture, it's not a straight line so of course the distance is different. So how could I calculate this distance in Android in this case? And please show me the code to make it...</p>