Retrieving # of satellites used in gps fix from Android
问题 I am trying to retrieve the # of satellites used in the GPS fix. I have implemented two different methods, as shown below: package ti.utils; import android.app.Activity; import android.content.Context; import android.location.GpsSatellite; import android.location.GpsStatus; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; public class Gps { private static final int TWO_MINUTES = 1000 * 60 * 2;