以下文字 [
fetched using HttpURLConnection.getInputStream(),
parsed using XmlPullParser.getText(),
sent as String (sText) to my Activity and
loaded with WebView.loadData(sText, "text/html", null)
]
<p>My friend scored 100% in the exam.</p>
未在我的活动中显示(在 Android 2.3.5 设备上)[引发的错误是“网页不可用 ....”,但在阅读后续文本后,我可以确认文本已被提取到设备],而
<p>My friend scored 100 percent in the exam.</p>
正确显示。请注意,以上两者在 Android 4.1.1 上都可以正常显示。任何指针都会有帮助。谢谢。