Android, SAX and Cookies: How to add a cookie when trying to parse XML from an URL?

Step #1: Use HttpClient to retrieve the XML as a string, using whatever cookies you want Step #2: Use SAX to parse the string retrieved by HttpClient.

I don't see any method of HttpClient that returns a string – Pascal Klein Dec 15 '10 at 21:02 @paskter: Check the first bullet here: hc.apache. Org/httpcomponents-client-ga/examples. Html Or, check here: github.Com/commonsguy/cw-android/tree/master/Service/WeatherAPI – CommonsWare Dec 15 '10 at 21:09.

I want to parse the result of a specific URL using Simple Ajax for XML. But how can I add a cookie? But how can I add a cookie to a request, that is handlet by the SAX-Api?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions