Possible Duplicate:
How do I get the web page contents from a WebView?
I want the html source code of the html file that has been loaded into my WebView.
By searching a lot, I came to know that it should done using the WebViewClient. Can anyone tell me how can t开发者_StackOverflowhis be done?Advice on this question Is there a way to get the HTML in a webview in an Android app? may help.
The Android WebView source code can be found here:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/webkit/WebView.java
精彩评论