Code example for BasicResponseHandler

0
		        HttpConnectionParams.setConnectionTimeout(params, 30 * 1000);
		        HttpConnectionParams.setSoTimeout(params, 30 * 1000);
		        ConnManagerParams.setTimeout(params, 30 * 1000);
		         
		        HttpGet httpget = new HttpGet(urls[0]);
				ResponseHandler<String> responseHandler = new BasicResponseHandler();
				return httpClient.execute(httpget, responseHandler);
			} 
			catch (Exception e)
			{ 
				Log.w(TAG, e.toString());
			} 
			finally 
			{ 
				httpClient.getConnectionManager().shutdown();
			} 
			return ""; 
		} 
		 
		protected void onPostExecute(String results)
Stop searching for code, let great code find you!  Add Codota to your java IDE