通过以下
代码启动监听器后工作正常.
LocationManager locationManager =(LocationManager) getSystemService(Context.LOCATION_SERVICE);
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER,WLConstants.DELAY_HOUR,gpsl
.getMindistance(),gpsl);
一段时间后,我通过以下代码停止监听器
locationManager.removeUpdates(this);
但问题是它仍在搜索我的gps任何解决方案???如何停止GPS?