0
A
回答
1
LocationManager manager = (LocationManager)Context.getSystemService(Context.LOCATION_SERVICE);
manager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
1
可以使用的LocationManager。
http://developer.android.com/reference/android/location/LocationManager.html
相关问题
- 1. Android GPS禁用
- 2. Android的GPS调用
- 3. 使用android检索GPS位置
- 4. 使用Android GPS进行位置更新?
- 5. Android:如何使用GPS测量距离
- 6. 在Android中使用GPS计算速度
- 7. 如何使用android GPS跟踪currier /包?
- 8. 在android中使用GPS的假位置
- 9. 使用GPS冻结Android模拟器2.0
- 10. 如何使用android进行gps导航
- 11. 帮助使用GPS坐标,Android
- 12. android GPS校准
- 13. ANDROID GPS/Invalid Listener
- 14. Android GPS位置
- 15. Android GPS地图
- 16. Android gps权限
- 17. Android GPS精度
- 18. GPS在Android
- 19. Android GPS超时
- 20. Android p2p GPS应用程序
- 21. 如何启用GPS的Android
- 22. Android GPS启用。不工作?
- 23. native_start在开始失败android GPS GPS
- 24. Android的GPS服务
- 25. android GPS force关闭
- 26. Android的GPS速度
- 27. Android的GPS定位
- 28. Android - GPS侦听器
- 29. Android的GPS错误
- 30. Q. Android GPS位置
@尼古拉Smiljanic:感谢UR答复..... – 2010-10-06 09:52:41
进口android.content.Context; import android.location.LocationManager; LocationManager manager =(LocationManager)getSystemService(Context.LOCATION_SERVICE); manager.getLastKnownLocation(LocationManager.GPS_PROVIDER); – 2010-10-06 10:15:21