2

我想从安卓手机的任何地方获得海拔高度。

我搜索这样的方法:

{海拔新海拔=新海拔(双纬,双经);}

结果,我将设置纬度和经度,然后我必须从这个(特定)位置获取高度。我只想要海拔值。

有没有这样的方法。我将使用 Google Maps Api v2。

4

1 回答 1

0

Google Play 服务位置库可以访问海拔高度。

请参见:

http://developer.android.com/google/play-services/setup.html

http://developer.android.com/training/location/retrieve-current.html

于 2014-06-23T14:36:31.480 回答