Code example for AndroidHttpClient

Methods: getParams

		_base_url = base_url;
		if (_http_client == null) {
			// Allocate a HttpClient, caching SSL sessions with the application context. 
			_http_client = AndroidHttpClient.newInstance(USER_AGENT, context.getApplicationContext());
			HttpClientParams.setRedirecting(_http_client.getParams(), true);
	public void signUrls(boolean value) {
		_sign_urls = value;
	// ----------------------------------------------------------------- 
	public void httpGet(String path, Map<String, String> args, OnResultListener listener) {
		final String url = assembleUrl(path, args);
		final HttpUriRequest http_request = new HttpGet(url);
		new AsyncHttpClient(http_request, listener).execute();
Connect your IDE to all the code out there  Get Codota for Java