我需要在我的应用程序中找到一个GPS位置,精度不需要很高(只需约1公里的精度),但我需要非常快速! (1-5秒)
我注册了这个监听器:
mlocListener = new MyLocationListener();
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mlocListener);
mlocManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, mlocListener);
但是找到解决方法太耗费时间了!有没有人知道一种可以更快地找到位置的方法(我基本上只需要设备所在的当前城镇)。
谢谢!