getLastKnownLocation(provider);. 第三步调用Location中的getLatitude()和getLonggitude()方法可以分别获取位置信息中的纬度和经度,代码如下.
確定! 回上一頁