Thank you for the prompt answer.
This is how I call LocationListener:
private LocationListener location_listener = new LocationListener()
{
@Override
public void onLocationChanged(Location location) {
....some code here...
}
@Override
public void onProviderDisabled(String provider) {}
@Override
public void onProviderEnabled(String provider) {}
@Override
public void onStatusChanged(String provider, int status, Bundle
extras) {}
};
Nothing really special I guess, just the usual way.
I just tried network provider too, and it works! Which I think makes
things even more weird. And I need to use GPS anyway...
Any more suggestions?
Thank you!
On Jun 4, 3:00 am, TreKing <[email protected]> wrote:
> On Thu, Jun 3, 2010 at 4:21 PM, Charly <[email protected]> wrote:
> > I'm developing an app which makes use of the GPS and I am not able to get a
> > fix.
>
> Location listener never gets called or it gets called with bad values?
> Have you tried the network provider? Does that work?
>
> ---------------------------------------------------------------------------
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered
> deviceshttp://sites.google.com/site/rezmobileapps/treking
--
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