2013-01-07 56 views

回答

2
How to get only coarse location without creating or extending MapActivity 

第一件事對於沒有獲得當前位置需要MapAcitvity,你只需要使用LoacaionManager,但你必須使用GoogleMap API

這是最好的question爲getCurrentLocation。

1

使用LocationListener可以從位置管理器獲取位置更新。你需要從GPS供應商,從GPS接收器返回的位置獲得位置,而另一個選項,你必須通過網絡供應商,這將返回網絡的位置,這是塔,無線網絡連接點等