草庐IT

android - 为什么在偏远的地方无法获取 GPS 坐标?

我去某个偏远的地方旅行,我没有移动接入,但我认为我的GPS无论如何都能工作,因为GPS发射器只依赖于卫星。我有以下代码来获取GPS位置:mlocManager=(LocationManager)getSystemService(Context.LOCATION_SERVICE);mlocListener=newMyLocationListener();mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,0,0,mlocListener);我试图记录我的GPS坐标,但结果是空的。有什么我做的不正确或者我不明白的地