Code example for HttpContext

Methods: setAttribute

0
         */ 
//        PreferenceManager.setDefaultValues(this, android.R.xml.default_values, false); 
		httpClient = new DefaultHttpClient();
		httpContext = new BasicHttpContext();
		CookieStore cookieStore = new BasicCookieStore();
		httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore);    	
    } 
 
    @Override 
    public void onTerminate() { 
    } 
     
}