Code example for ClientConnectionManager

Methods: getSchemeRegistry

0
	    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)
		{