How do I retrieve all HTML content currently displayed in a WebView?
I found WebView.loadData()
but I couldn't find the opposite equivalent (e.g. WebView.getData())
Please note that I am interested in retrieving that data for web pages that I have no control over (i.e. I cannot inject a Javascript function into those pages, so that that it would call a Javascript interface in WebView).
question from:https://stackoverflow.com/questions/5264162/how-to-retrieve-html-content-from-webview-as-a-string