Skip to content Skip to sidebar Skip to footer

Android Google Maps Locationclient

I am using the Google Maps Android API v2 LocationClient in my Android application: http://developer.android.com/reference/com/google/android/gms/location/LocationClient.html I am

Solution 1:

I guess it's a bit late but I was wondering the same, so I'll reply.

It's normal behaviour. It's not clear from the API documentation, but in the official tutorial at http://developer.android.com/training/location/retrieve-current.html, it says about onDisconnected:

Called by Location Services if the connection to the location client drops because of an error.

Which means it shouldn't be called if you call disconnect() yourself.

Post a Comment for "Android Google Maps Locationclient"