Hi,

Also try rebooting N1 occasionally, go outside & wait for GPS fix,
seems to help if not getting GPS fix - longer than 10 minutes.

>From your link - try this as well -

Getting a fast fix with the last known location

The time it takes for your location listener to receive the first
location fix is often too long for users wait. Until a more accurate
location is provided to your location listener, you should utilize a
cached location by calling getLastKnownLocation(String):

LocationProvider locationProvider = LocationManager.NETWORK_PROVIDER;
// Or use LocationManager.GPS_PROVIDER

Location lastKnownLocation =
locationManager.getLastKnownLocation(locationProvider);

Regards

On Mar 8, 9:20 am, lbendlin <[email protected]> wrote:
> Assuming you try this with open sky and not inside your house the N1
> should get a location much quicker.  Have you disabled data traffic
> with your mobile provider? That may impact the ephemeris gathering.
>
> Try with another N1. Maybe you just got one with a bad GPS antenna.
>
> On Mar 3, 6:05 am, Matthieu <[email protected]> wrote:
>
>
>
>
>
>
>
> > Dear all,
>
> > I'm a french android developpeur.
>
> > I'm developping an application of geolocalisation. I need to get a
> > position with a good accuracy quickly, so i use only GPS provider. I
> > test my app on my N1 in 2.2.1.
>
> > I have several problems :
>
> > Regularly i don't get position, and even after waiting about 10min.
>
> > I decide to use NetwordProvider, but the accuracy of this method is
> > bad.
>
> > I test sereval solution :
>
> > - Launch the Network acquisition and after the gps acquisition to
> > refine the position but doesn't work
> > - Launche the network and gps acquisition simultaneously but doesn't
> > work
>
> > I see this 
> > linkhttp://developer.android.com/guide/topics/location/obtaining-user-loc...
> > but i don't really understand this.
>
> > If anyone have an idea I'm interested.
>
> > Thank's
>
> > Matthieu.

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