Thanks Jeff --

Do you know what determines whether the Google maps message "searching
for GPS..." is displayed or not?

Peace,
Scott

On Dec 11, 1:37 pm, jeffro <[email protected]> wrote:
> You might be better off checking the accuracy of your GPS location
> instead.  Even though GPS is locked, your GPS accuracy may be too poor
> for what you need for your application.
>
> /* (non-Javadoc)
>          * @see android.location.LocationListener#onLocationChanged
> (android.location.Location)
>          */
>         public void onLocationChanged(Location location) {
>                 //check gps accuracy
>                 if(location.getAccuracy()<100) //process if accuracy is good 
> <100
> meters
>
> Jeff
>
> Trackaroo.com
> Trackmaster - Motorsports Lap Timerhttp://trackmaster.trackaroo.com
> Dynomaster - Performance Dynohttp://dynomaster.trackaroo.com
>
> On Dec 11, 9:10 am, stanlick <[email protected]> wrote:
>
> > I am trying to determine whether satellites are being acquired or if a
> > lock has been acquired.  I can see this with a pulsing vs. fixed dish
> > icon on the notification bar, but so far I have not quite achieved a
> > solution in code.
>
> > Apparently this does nor necessarily mean LOCK_ACQUIRED?
>
> >         @Override
> >         public void onGpsStatusChanged(int event) {
> >                 if (GpsStatus.GPS_EVENT_STARTED == event) {
> >                         //1
> >                         setGpsAvailable(true);
> >                 }
>
> >         }
>
> > Peace,
> > Scott
>
>

-- 
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