Code example for ClientConnectionManager

Methods: getSchemeRegistry

	    DefaultHttpClient client = new DefaultHttpClient();
	    ClientConnectionManager mgr = client.getConnectionManager();
	    HttpParams params = client.getParams();
	    client = new DefaultHttpClient(new ThreadSafeClientConnManager(params, 
	            mgr.getSchemeRegistry()), params);
	    return client;
	public boolean doLogin() 
		if (user=="" || pass==""){
			mybbuser = null;
			response = null;
			Log.d("AU","LOGIN- abortado al haber un campo vacio");
			return false; 
		// para evitar el hammering de datos invalidos 
		if (user==lastInvalidUser && pass==lastInvalidPass)
Connect your IDE to all the code out there  Get Codota for Java