Android Question How to Get the source code of a webpage with WebView and WebViewExtras2 not WebViewExtras?

Leni Berry

Active Member
Licensed User
Longtime User
Example as described here use a WebViewExtras library. My project use WebViewExtras2 library. i dont know how to use .addJavascriptInterface using WebViewExtras2 library.
any example how to use it with .addJavascriptInterface? Especially for getting source code of webpage.
 
no.. my code start with WebView1.LoadHtml(strHTML). I put some javascripts inside to calculate document.body.scrollheight.
 
Upvote 0
Back
Top