[android-developers] Re: GPS Fix Status

2012-03-29 Thread lbendlin
It may not be a good solution but it may be a viable solution. On Thursday, January 5, 2012 10:17:17 PM UTC-5, gotok wrote: > The solution to this issue that was proposed by a poster in that thread > was to issue another requestLocationUpdates, which doesn't seem like a > good solution to me.

Re: [android-developers] Re: GPS Fix Status

2012-01-06 Thread James Black
It depends on how you mean about the GPS fix being good. If the provider goes to something other than available that may be a good indicator I believe. I look at the availability of the wifi and GPS to see if GPS is ready so I can possibly get some location info. On Jan 5, 2012 10:39 PM, "gotok"

[android-developers] Re: GPS Fix Status

2012-01-05 Thread gotok
James, I'm not sure how to get fix info from onStatusChanged. The status it gives (OUT_OF_SERVICE, TEMPORARILY_UNAVAILABLE, AVAILABLE) relates to the GPS provider, not whether the gps fix is OK or not. Is there something in the extras that can indicate gps fix lost? I agree that if the provider is

Re: [android-developers] Re: GPS Fix Status

2012-01-05 Thread James Black
You will need to go with zero meters and 1 sec perhaps. But you can also use onStatusChange to see when the signal is lost. http://developer.android.com/reference/android/location/LocationListener.html On Jan 5, 2012 9:17 PM, "gotok" wrote: > James, > Thanks for your help. I have seen that link

[android-developers] Re: GPS Fix Status

2012-01-05 Thread gotok
James, Thanks for your help. I have seen that link and have been using the approach suggested there which compares the current time to that of the last location update and assumes that the fix is lost if the time difference is too long. This works for me if the mintime and mindistance values are bo