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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top