So I'm attempting to connect to the Tumblr Dashboard using an HTTP
Post. The Activity uses a WebView and I do an http post after creating
the webview, but the redirect_to in the HTTP Post doesn't work with
the WebView. I know my post works and isn't throwing errors, however I
need the HTTP Post to
>DGupta wrote:
>> So I'm attempting to connect to the Tumblr Dashboard using an HTTP
>> Post. The Activity uses a WebView and I do an http post after creating
>> the webview, but the redirect_to in the HTTP Post doesn't work with
>> the WebView. I know my post works and isn't throwing errors,
just reverse what i did :-)
after your request completes, get the Apache CookieStore object from
your post object (post.getCookieStore()) and copy the relevant
cookies to the WebKit CookieManager (CookieManager.getInstance()). in
theory, this should result in those cookies being sent in future
here's your problem, i think --
the getValue() method of the Apache Cookie class returns the value of
the cookie, ie from jsessionid=blah would retrieve "blah"
-- but --
the setCookie() method of the WebKit CookieManager class takes a
parameter called "value", but it's referring to something
4 matches
Mail list logo