Re: [android-developers] Re: About Location Service

2011-06-20 Thread Baodong Chen
thanks for your reply. i used location service as follows: mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); by setting minimum distance and minimum time to zero. normally my listener's onLocationChanged() was called about once one second. and this its what i

[android-developers] Re: About Location Service

2011-06-19 Thread Indicator Veritatis
It sounds to me like you may have run up against the same problem I noticed when building and running the WindAndWaves app from Android in Action: LocationManager.requestLocationUpdates does a logical AND operation on the two conditions, minimum distance and minimum time. This sounds pretty

[android-developers] Re: About Location Service

2011-06-18 Thread cellurl
Look at working code. Here is some. http://code.google.com/p/speedlimit/ On Jun 16, 8:18 pm, Baodong Chen chenbdche...@gmail.com wrote: Hi:  I have a APP using Location Service, and i tested it and found that  my Location Listener's onLocationChanged() was not called for more than ten