How to retrieve cookies in android?
posted 1 year ago
I have a login page , which sends HttpPost request to the server and in response I am getting cookies. But I don't know how to get those cookies. I found http://quickandroidblog.blogspot.in/2012/05/session-maintenance-using-cookies.html and http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientCustomContext.java that seem to use But the current version of HttpClient doesn't have this getCookieStore() method. So how can I achieve what I want?