HttpClient setCookies from Webview in android

this is real

I seached a bunch of time but there are nothing to work

this is a solution

if you are interested in Huybrid Webview

doing this

URI uri = new URI("");

HttpClient httpclient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(uri);

String cookies = CookieManager.getInstance().getCookie(
Log.i("cookie", "cookie " + cookies);

httpPost.setHeader("Cookie", cookies);
HttpResponse response = httpclient.execute(httpPost);


Popular posts from this blog

codefights smooth sailing ( CommonCharacterCount)

How to remove 8443 port in URL in tomcat