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 = (WebView)
findViewById(R.id.authBrowser);
        webview.setVerticalScrollBarEnabled(false);
        webview.setHorizontalScrollBarEnabled(false);

        WebSettings webSettings = webview.getSettings();
        webSettings.setBuiltInZoomControls(true);
        webview.setWebViewClient(new ThisWebViewClient());
        webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
        wv =  webview.new WebViewTransport();
        wv.setWebView(webview);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to