Tuesday, 6 August 2013

LocationClient.connect() give an error for immedate requestupdate calling

LocationClient.connect() is asynchronous. You can't immediately start using the client methods until connection is complete. You should call requestLocationUpdates inside the onConnected callback (or at least after the callback has been called).

No comments:

Post a Comment