I\'m trying to fetch data from a server with this code
DefaultHttpClient httpClient = new DefaultHttpClient();
httpClient.getParams().setParameter(Co
I had a similar problem. The problem was the fact that my phone was causing incorrect date so that all cookies were empty !!!
After many tries i found that the BasicCookieStore was not adding any cookie, because all cookies were expired for an unknown reason (and only on S2). I had to create my own implementation of CookieStore which ignore the expiration date check. This is a temporary fix, i'm still digging to find a more secure and clean way to solve this.