Get traveled distance using GPS
<p>I would like to track my traveled distance with my car.
It would start recording when my speed would be greater than 0 in KM/H</p>

<p>I got my speed with this code : speed = location.getSpeed() * 3.6;</p>

<p>Would like to do this:</p>

<p>if (speed > 0)
      //track my distance.</p>

<p>I only found how to calculate distance betwen two points.
Thank you for helping.</p>
