我正在使用http://developer.android.com/training/location/geofencing.html
中的Geofence代码工作正常如果我启用GPS并使用以下代码来请求GPS
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中输入,但我得到的实际位置不在栅栏中。
我已将地理围栏半径设置为100米。
我们是否需要net激活才能使该程序正常工作?
我们是否需要在Google Play中登录?
我错过了什么?