start with: final Iterable<GpsSatellite> satellites = gpsStatus.getSatellites();
then for each GpsSatellite: call usedInFix() and count the ones used On Sep 9, 4:24 pm, skink <psk...@gmail.com> wrote: > On Sep 9, 3:16 pm, souissi haythem <haythe...@gmail.com> wrote: > > > > > > > > > > > i have tried: > > > gps_loc.getExtras().getInt("satellites"); > > > //gps_loc is the location, i got > > > But it doesn't work and my programme was blocked!!! > > > On Sep 9, 1:54 pm, Mark Murphy <mmur...@commonsware.com> wrote: > > > > On Fri, Sep 9, 2011 at 7:38 AM, souissi haythem <haythe...@gmail.com> > > > wrote: > > > > thanks > > > > > this give me caracteristic of a satellite. > > > > > but i want first to know the number of satellites my android used to > > > > get a GPS fix? > > > > Ah, sorry. getExtras() on the Location object should have a > > > "satellites" value (int, I guess) that is "the number of satellites > > > used to derive the fix". > > > > -- > > > Mark Murphy (a Commons > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > Android Training...At Your Office:http://commonsware.com/training > > why dont you just examine key set of extras? > > pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en