地理位置融合的地理位置

时间:2016-09-14 11:31:14

标签: android gps android-geofence android-fusedlocation

我正在开发一个应用程序,我必须在其中进行地理围栏,但使用融合位置可能会或可能不会有GPS信号。

使用地理围栏的可用示例,当gps关闭时,它会显示地理围栏服务现在不可用

https://developer.android.com/training/location/geofencing.html

我想从融合位置获取Geofencing的位置。有可能吗?

2 个答案:

答案 0 :(得分:0)

之前我使用过FusedLocationApi,这里有一些代码https://drive.google.com/drive/folders/0BzCeun34V4j7djdySVBZaDFkdTA?usp=sharing

答案 1 :(得分:0)

通常,如果您在模拟器中使用Geofencing,则会收到Geofence service is not available now之类的错误消息。尝试使用像Lockito这样的应用 模拟位置/旅行,然后使用Geofencing。

相关问题