Android Getspeed using maps
<p>i am implementing <code>getspeed</code> to get speed of the device while moving in phone.why <code>getSpeed()</code> always <code>return 0</code> on android ..?..i am using gps to get coordinates.</p>

<pre><code>if(location.hasSpeed() == true)
{
    Toast.makeText(ProxAlertActivity.this, "Speed:"+ location.getSpeed(), Toast.LENGTH_LONG).show();
}
</code></pre>
