Code example for LocationClient

Methods: removeLocationUpdates

0
        Log.d(ActivityUtils.APPTAG, "Dectection client connected");
        continueRemoveUpdates(); 
    } 
 
    private void continueRemoveUpdates() { 
        mLocationClient.removeLocationUpdates(mCurrentIntent);
        mCurrentIntent.cancel();
        requestDisconnection(); 
    } 
 
    @Override 
    public void onDisconnected() { 
        Log.d(ActivityUtils.APPTAG, "Dectection client disconnected");
        mLocationClient = null;
    } 
 
    @Override 
    public void onConnectionFailed(ConnectionResult connectionResult) {
        if (connectionResult.hasResolution()) {
            try { 
                connectionResult.startResolutionForResult((Activity) mContext,