Parse HTML in Android

前端 未结 5 868
逝去的感伤
逝去的感伤 2020-11-22 06:22

I am trying to parse HTML in android from a webpage, and since the webpage it not well formed, I get SAXException.

Is there a way to parse HTML in Andro

5条回答
  •  野的像风
    2020-11-22 06:49

    Maybe you can use WebView, but as you can see in the doc WebView doesn't support javascript and other stuff like widgets by default.

    http://developer.android.com/reference/android/webkit/WebView.html

    I think that you can enable javascript if you need it.

提交回复
热议问题