我有这些变量,并且在 onResume 方法中有以下调用:
private Location userLocation;
private GeoPoint point;
private LocationManager manager;
private LocationListener listener = new LocationListenerC();
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 10000, 25, locationListener);
但是当我在 android 模拟器中运行这个应用程序时,用户的位置不是每 10 秒更新一次。任何人都可以帮忙吗?