Excuse me for resurrecting an old thread but there don't seem to be
any newer ones.  I can't believe there's so little comment on this.

The docs for Location still say that getExtras should return
satellites.

How's it going with you Richard?

Regards

Neil


On Oct 6, 9:53 pm, Richard Schilling <[email protected]>
wrote:
> Update to this problem.
>
> Version 1.1 of the SDK uses just LocationListener.
> Version 1.5 introduces GpsSatellite class.   Apparently you can get a
> list ofsatellites, but the satellite count still is delivered as an
> extra in Location objects whenever LocationListener.onLocationUpdate
> is called.
> Version 1.6 breaks this behavior.  Apparently, satellite count only
> comes through the GpsSatellite class.
>
> You broke my client....  Or, am I missing something?
>
> Richard Schilling
> Mobile Operating Systems Engineer
> Root Wireless
>
> On Oct 6, 11:34 am, Richard Schilling <[email protected]>
> wrote:
>
> > And, here, folks is the exact day the earth stood still in Android
> > Land:
>
> > TIMESTAMP (UTC)        SATELLITE COUNT
> > 2009-10-02 23:24:09.0    8.0
> > 2009-10-02 23:32:53.0    0.0
>
> > Is anybody out there ... ? Is anybody at all?
>
> > Perhaps a new space war started that knocked out oursatellitesand we
> > weren't told.....?
>
> > Mayhem? Armegeddon?
>
> > Richard
>
> > On Oct 6, 11:01 am, Richard Schilling <[email protected]>
> > wrote:
>
> > > Just upgraded my phone firmware to 1.6, and it looks like Location
> > > objects don't have satellite counts in them any more:
>
> > > locMan = (LocationManager)con.getSystemService
> > > (Context.LOCATION_SERVICE);
> > > Location loc = locMan.getLastKnownLocation
> > > (LocationManager.GPS_PROVIDER);
> > > Bundle extraBundle = loc.getExtras();
>
> > > extraBundle is null.  So, I can't call
>
> > > extraBundle.getInt("satellites")
>
> > > anymore to get the satellite count.
>
> > > What happened?
>
> > > Richard Schilling
> > > Mobile Operating Systems Engineer
> > > Root Wireless
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to