如何分配web视图文本内容到字符串变量视图、字符串、变量、分配

由网友(迷失在那温暖笑脸中゜)分享简介:朋友的是否有可能分配的WebView文本内容,以普通的字符串变量?如果是的话,请帮我。Friend'sIs there any possibility to assign WebView text content to ordinary String variable?if it so,please help me....

朋友的      是否有可能分配的WebView文本内容,以普通的字符串变量?如果是的话,请帮我。

Friend's Is there any possibility to assign WebView text content to ordinary String variable?if it so,please help me.

在此先感谢。

推荐答案

对不起,没有直接的办法做到这一点。如果你控制了网页,也有一些不愉快间接的方式来做到这一点。或者,如果你不需要显示给用户,使用HttpClient的检索页面,而不是一个的WebView

Sorry, there is no direct way to do this. If you control the Web page, there are some unpleasant indirect ways to do this. Or, if you do not need to display it to the user, use HttpClient to retrieve the page rather than a WebView.

阅读全文

相关推荐

最新文章