Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calculate Speed using GPS in Android [closed]

Tags:

android

I want to develop an Android App, which will give me the speed with which I am travelling. Please suggest me some webSites from where I can get some help.

I know there is a function like Location.getSpeed(). But don't know how exactly it works.

like image 238
Shishir Shetty Avatar asked Jun 01 '11 11:06

Shishir Shetty


1 Answers

First read this article to learn how to get GPS fixes.

You can call getSpeed() in your location listener, in the onLocationChanged() callback.

like image 81
Reno Avatar answered Nov 15 '22 01:11

Reno