3

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 this be done?

Community
  • 1
  • 1
Android
  • 8,995
  • 9
  • 67
  • 108

2 Answers2

0

Advice on this question Is there a way to get the HTML in a webview in an Android app? may help.

Community
  • 1
  • 1
Jim Blackler
  • 22,946
  • 12
  • 85
  • 101
-1

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

uTubeFan
  • 6,664
  • 12
  • 41
  • 65