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!

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top