[android-developers] How to set WebView to follow 302 redirects

2011-11-19 Thread DoubleCheese
Hi, I am using a webview to load a URL which results in a few 302 redirects. However, I've noticed that it doesn't seem to follow the redirects correctly. Is there a way to setup WebView so it follows the redirect? Here is the code I use to initialize my WebView: final WebView webview =

Re: [android-developers] How to set WebView to follow 302 redirects

2011-11-19 Thread Mark Murphy
Add a WebViewClient with a shouldOverrideUrlLoading() implementation. That method gets control for link clicks and redirects. You can then load the redirected URL back in the WebView. On Sat, Nov 19, 2011 at 7:01 PM, DoubleCheese dennis.ang...@gmail.com wrote: Hi, I am using a webview to load a