Android Geofence实现通过Cell ID获取Alart(网络提供商)
我正在使用来自的Geofence代码 如果我启用GPS并使用以下代码请求GPS,则工作正常Android Geofence实现通过Cell ID获取Alart(网络提供商),android,location,android-geofence,cellid,Android,Location,Android Geofence,Cellid,我正在使用来自的Geofence代码 如果我启用GPS并使用以下代码请求GPS,则工作正常 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000*60 , 0, new MyLocationListener()); 我应该怎么做才能从Cell Id获得Geofence alart 当我使用 locationManager.requestLocationUpdates(LocationManager.N
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000*60 , 0, new MyLocationListener());
我应该怎么做才能从Cell Id获得Geofence alart
当我使用
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000*60 , 0, new MyLocationListener());
它显示输入了Geofence,但我得到的实际位置不在fence中
我已经设置了半径为100米的土工栅栏
我们需要激活网络才能使这个程序工作吗
我们需要登录谷歌游戏吗
我错过了什么