Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/231.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
Android Don';t当设备位于一个位置时插入位置_Android_Location - Fatal编程技术网

Android Don';t当设备位于一个位置时插入位置

Android Don';t当设备位于一个位置时插入位置,android,location,Android,Location,我每5秒请求一次定位 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 0, GpsStatus.this); 我不想在设备位于1个位置时插入位置,否则将在该位置生成多个标记。。谁能给我推荐一下我能用的东西吗。我试过使用,但没有用

我每5秒请求一次定位

locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 0, GpsStatus.this);
我不想在设备位于1个位置时插入位置,否则将在该位置生成多个标记。。谁能给我推荐一下我能用的东西吗。我试过使用,但没有用