0

我已经在我的应用程序中使用 android 中的 GPS 实现了位置识别,但现在如果 GPS 不可用或禁用,那么如何在设备中启用互联网时识别位置。无论是使用谷歌 API 还是三角测量或其他东西。谢谢你。

4

2 回答 2

1

你读过这个官方文档了吗?

http://developer.android.com/guide/topics/location/obtaining-user-location.html

于 2010-10-26T18:52:20.953 回答
1

Android 会自动执行此操作。

于 2010-10-26T18:53:09.730 回答