Code example for BasicResponseHandler

Methods: handleResponse

0
String ret=null;
    	 
    	try { 
			HttpResponse resp=cli.execute(new HttpGet(d));
		 ret=myHandler.handleResponse(resp);
		  
				 
			 
			//Toast.makeText(getApplicationContext(),(String)resp,  
	          //      Toast.LENGTH_LONG).show(); 
		} catch (ClientProtocolException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
	return ret;		
    }