I'm working on an Android application that uses a WebView and some 302 redirects to track link clicks. On Android 2.3.3, a 302 redirect passes through
public boolean shouldOverrideUrlLoading(WebView view, String url)
correctly, but on Honeycomb 3.2.2 only the initial URL passes through, and the 302 redirect never shows up as being requested. I attempted the solution here , and the answer here , but neither of those fixes the problem.
Thanks for any help!
Try this method public WebResourceResponse shouldInterceptRequest (WebView view, String url)
Maybe, helpful for you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.