Android 4 has a "file:///android_asset/webkit/" bug?
Ever since we upgraded to Android 4 (Ice Cream Sandwich), we've been experiencing a strange behavior with WebView. We noticed that on some web pages, after it has completed loading, the WebView redirects its content to a new page that says the following:
Webpage not available
Funny thing, we saw the web page load in the WebView component. The page didn't get redirected until it almost completed loading. The URL was correct because we saw the correct page render. We are now running on Android 4.1.2, but we've seen this behavior on Android 4.0.3 as well.
We tested the same app on Android 2.2 and the WebView content didn't get redirected to this strange webkit page. We can't put our finger on what's causing it. But all symptoms points to a bug in Ice Cream Sandwich.
Just ran into the same thing. I have a custom WebViewClient class that is set in the WebView. A simple override to shouldOverrideUrlLoading was the fix for me.
Thanks, Sven. That did the trick. We believe this bug occurs when WebView goes to a page that contains Adobe Flash.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
16 Users Online
Copyright © 1996 - 2014. All Rights Reserved.