Question

Now I am developing an android, and it includes these functions: get GPS, Altitude and speed, I know how to get GPS, but I have no idea about how to get Altitude and speed, who knows some plug-in can get both Altitude and speed, just tell me please!

Était-ce utile?

La solution

LocationManager provides access to Location data with altitude and speed for location providers that offer it, like GPS_PROVIDER.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top