[android-developers] Re: WebView and HTTP Post requests

2009-07-29 Thread mikedroid
but how do you pass that cookie which is a sessionsId for the webview to continue the with the link you wanted to go to? On Jul 19, 2:35 am, DGupta wrote: > Yeah so thats basically what I had to do,except if I got the Cookies > from the HttpResponse by asking for the Set-Cookie headers and placi

[android-developers] Re: WebView and HTTP Post requests

2009-07-18 Thread DGupta
Yeah so thats basically what I had to do,except if I got the Cookies from the HttpResponse by asking for the Set-Cookie headers and placing the values from each of the headers as the "value" for setCookie() and just use the URL. This way I didn't have to build a string, the string was already the

[android-developers] Re: WebView and HTTP Post requests

2009-07-18 Thread DGupta
Yeah so thats basically what I had to do,except if I got the Cookies from the HttpResponse by asking for the Set-Cookie headers and placing the values from each of the headers as the "value" for setCookie() and just use the URL. This way I didn't have to build a string, the string was already the

[android-developers] Re: WebView and HTTP Post requests

2009-07-16 Thread DGupta
I've been trying this. I get the CookieStore from the HttpClient that executes the HttpPost. I then get all the values from the CookieStore and place it in the CookieManager using CookiManager.getInstance ().setCookie(url, theCookieStore.getCookies().get(i).getValue()); where i is the value in wha

[android-developers] Re: WebView and HTTP Post requests

2009-07-15 Thread Mark Murphy
DGupta wrote: > But how does that help you get the cookie from a POST response and > then set the cookie on the WebView.? I can't find anyway to add a > cookie to a custom webview android.webkit.CookieManager is a singleton. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter

[android-developers] Re: WebView and HTTP Post requests

2009-07-15 Thread DGupta
But how does that help you get the cookie from a POST response and then set the cookie on the WebView.? I can't find anyway to add a cookie to a custom webview On Jul 15, 1:26 pm, Jason Proctor wrote: > >DGupta wrote: > >>  So I'm attempting to connect to the Tumblr Dashboard using an HTTP > >>

[android-developers] Re: WebView and HTTP Post requests

2009-07-15 Thread Mark Murphy
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, however I