【发布时间】:2014-01-22 03:40:08
【问题描述】:
我正在使用融合位置提供程序在我的应用程序中获取用户位置。我连接到 Wifi 并通过网络提供商获取用户位置,我无法使用 gps 提供商,因为我在建筑物中。
当我在设置中关闭并打开“wifi 和移动网络位置”时,我的 onLocationChanged 之后再也不会接到电话,并且地图不会显示指示我所在位置的小蓝点。我必须重新启动手机才能让它再次工作。当我关闭和打开设置时,也会出现同样的行为。
我目前使用的是 google play 服务修订版 14。在 nexus 4 上测试。
此链接也存在类似问题,也依赖于 google play 服务。
Activity Recognition not work after "wifi & mobile network location" is turn off and turn on
【问题讨论】:
标签: android location google-play-services