I wish this was an april fool joke, but no. This is nuts.
I have a certain piece of text which when I load it into a webview, it
displays fine. If I pause and then resume the activity, the webview is
blank. Usually it happens immediately on the first resume, sometimes
it takes a few goes.
Once it's happened, no webviews in my app will display anything at
all. Completely unrelated activities have blank webviews.
The offending text is this:
webView.loadData("<ul><li>3</li><li>Orange</li><li>T-Mobile</
li><li>Virgin</li></ul>", mimeType, encoding);
I've started with a very long page of HTML and whittled it down to
that line. It breaks my webview. If I edit the line at all, it loads
fine every time. I've played with all the webview settings too.
Please put me out of my misery, what's happening here?
--
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