Getting Speed ​​Using the Google Play Location API

I am using a paid location provider from the new GooglePlay API (LocationClient class). But the Location.GetSpeed ​​() method does not return the correct speed (shows 0). I read that I need to use the LocationManager class to get speed, but when I tried LocationManager, a new problem arose. The NetworkProvider location manager is not working, here is the thread with the http://code.google.com/p/android/issues/detail?id=57707 problem . So the best way to get speed. I tried to calculate its distance / time, but that is not accurate.

+4
source share
2 answers

The only sensor that provides speed is GPS.
Wlan and GSm cell localization cannot provide speed.

If you need speed, you need to make sure that exlusivley is using GPS as a location provider. You cannot use NetworkProvider for this task.

If speed is an important requirement that takes precedence over battery consumption, you should only stay with your GPS provider. You should avoid a provider with a smooth location.

Its technically impossible to have speed without GPS.

+3
source

I also ran into this problem when using the Google Location Location API. Hope this helps.

0, GPS GPS.

lenovo, 0, gps.

samsung, ( GPS-).

GPS , GPS, , .

locationManager , gps, getSpeed ​​ 0.

+2

All Articles