title: Get the distance between two locations like in the http request in Google Directions
body: <p>I know there are much topics out about this question, but my problem is more specific.
  I call the Google Directions http API to get a routing between two locations. The responding JSON has all information how to travel from point A to B. But how can i calculate the distance by myself for example between my actual location and the next end location of a step while im moving? I need the "road line" not the "air-line".</p>
  
  <p>What i did is to get the lat, lng of my actual location with the LocationManager. With this and the lat, lng of the end location i call the Location.distanceBetween method. But it gives a unprecise distance back.. Unprecise means the result of the distancebetween method is different from the distance out of the directions API. For long ways as for short ways.</p>
  
  <p>One solution would be to call the Directions API multiple times... But there must be a nicer work around to get the actual distance along a road. Is there a tool to get what i want?</p>
  
  <p>Edited to make it more understandable</p>