开发者

view only specific div from a web page with web view

Is there any way to any way to allow the user to only view a certain <div> with WebView?

开发者_开发知识库

Thanks!


Parse out that <div> and load only it into the WebView in the first place.

Beyond that, no. WebView displays whatever you hand it.


This post is quite old, but check the excellent jsoup library for parsing and selecting html content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜