Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/195.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xamarin Android Geofence不';即使locationmanager定期轮询,也不会触发GPS_Android_Xamarin.android_Android Geofence - Fatal编程技术网

Xamarin Android Geofence不';即使locationmanager定期轮询,也不会触发GPS

Xamarin Android Geofence不';即使locationmanager定期轮询,也不会触发GPS,android,xamarin.android,android-geofence,Android,Xamarin.android,Android Geofence,尽管遵循了下面帖子中的建议 定期轮询LocationManager,我无法在设备设置为仅GPS的情况下触发Android GeoFences。只有当定位模式设置为高精度(在棒棒糖上)时,它们才会触发 有没有人在Xamarin成功尝试过这种方法 只有当定位模式设置为高精度时,它们才会触发 这总是发生在模拟器中。你应该在真正的设备上试试

尽管遵循了下面帖子中的建议

定期轮询LocationManager,我无法在设备设置为仅GPS的情况下触发Android GeoFences。只有当定位模式设置为高精度(在棒棒糖上)时,它们才会触发

有没有人在Xamarin成功尝试过这种方法

只有当定位模式设置为高精度时,它们才会触发

这总是发生在模拟器中。你应该在真正的设备上试试