google-code-export / openeve

Automatically exported from code.google.com/p/openeve
0 stars 1 forks source link

GPS: Although fix is available, gps receiver reports no satellites in use for fix #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get GPS fix
2. Check for example with GPSTest app from market
3. or own little app

What is the expected output? What do you see instead?
Expected: Sats used in fix reported correctly
Instead: Sats used in fix is always 0

What version of the product are you using? On what operating system?
Latest Firedroid mod

Please provide any additional information below.

Tried also with own app like this:
final class GpsStatusListener implements GpsStatus.Listener {
    public void onGpsStatusChanged(int i) {
        if (i==GpsStatus.GPS_EVENT_FIRST_FIX) {
            Log.d(APP, "gpsx.fixed.");
            for (GpsSatellite sat:locationManager.getGpsStatus(null).getSatellites()) {
                Log.d("Used: " + sat.usedInFix());
            }
        }
    }
}

=> Although fix is available, "usedInFix()" is always false.

Used versions: Latest 2.3.7 GB, Cyanogenmod 7.2

Original issue reported on code.google.com by ti08m...@gmail.com on 22 Jan 2012 at 8:39