Code example for BasicCookieStore

0
	@Override 
	public void onCreate() { 
		super.onCreate(); 
		binder = new SaltaServiceBinder();
		httpClient = new DefaultHttpClient();
		CookieStore cookieStore = new BasicCookieStore();
		localContext = new BasicHttpContext();
		localContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore);
	} 
 
	@Override 
	public int onStartCommand(Intent intent, int flags, int startId) {
		return START_REDELIVER_INTENT;
	} 
 
	@Override 
	public IBinder onBind(Intent intent) {
		return binder;
	} 
 
	private String serverUrl() {