seyeysyesyes> Date: Thu, 9 Oct 2008 15:07:09 -0700> Subject: 
[android-developers] Re: Getting GPS Strength ?> From: [EMAIL PROTECTED]> To: 
[email protected]> > > Great :) Thats what I've been 
searching for.> > So did you find a constant for 'satellites' ?> > On 2 Okt., 
06:12, Ludwig <[EMAIL PROTECTED]> wrote:> > The onStatusChanged() method for 
the LocationListener interface has a Bundle> > as a third parameter. From the 
LocationManager documentation:> >> > "The extras Bundle for the GPS location 
provider can contain the following> > key/value pairs:> >> >    - satellites - 
the number of satellites used to derive the fix"> >> > That is AFAIK the only 
hook into more details from the GPS receiver, which> > is not much and for any 
real purposes pretty useless. And it is optional, so> > you cannot rely on it.> 
>> > Furthermore, I have no idea on how to get the Emulator provide any> > 
information of this sort. Pushing in a GPX file with DDMS gives me two calls> > 
to onStatusChanged: one at the beginning when no GPS information is> > 
available (the flag tells me that the GPS is temporarily unavailable), then> > 
when I start playing the GPX file it tells me it is available. But there is> > 
nothing in the bundle. The GPX file does not contain such information so I> > 
am not surprised. Maybe Google can tell us if there is a way to get> > 
satellite information to show in the Emulator.> >> > I can only say that the 
nicest thing to have on a physical device will be> > some access to the NMEA 
messages as only information of that detail can give> > a real idea of 
accuracy. (Just in case some GPS manufacturers are listening:> > build an 
Android enabled device, make NMEA message available over some> > Listener 
interface and hundreds of Android programmers will write all the> > software 
for you.)> >> > Ludwig> >> > 2008/10/1 Nikkelitous <[EMAIL PROTECTED]>> >> >> 
>> > > The best thing I can see is getAccuracy() in> > > 
android.location.Location.  It unfortunately doesn't return how many> > > GPS 
satellites it's seeing but is a more abstract result gathered from> > > all 
details of the connections.  This, I assume would include the> > > number of 
satellites their strength and other details.  But unless> > > theres a hidden 
API I don't think we can really get that data just> > > yet.  I'd say file it 
as a feature request but for most purposes> > > getAccuracy() should be 
sufficient.  If you're looking for specific> > > number for something else, why 
don't you post it and we'll brainstorm> > > and try to figure out a way to do 
what you want.> >> > > On Sep 28, 10:56 pm, plusminus <[EMAIL PROTECTED]> 
wrote:> > > > Hey guys,> >> > > > is there any possibility to get the 
Strength/Reliability/Quality of> > > > the current GPS-signal ?> > > > i.e. the 
number of satellites the gps-receiver is 'seeing' ?> >> > > > Best Regards,> > 
> > plusminus> >> >> 
_________________________________________________________________
Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos 
com até 6,000 fotos!
http://www.amigosdomessenger.com.br
--~--~---------~--~----~------------~-------~--~----~
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