Encountering a challenge here. My approach involves:
Loading 3 html pages consecutively inside webview on android and then trying to obtain the height of each page.
webview.addJavascriptInterface(new JavaScriptInterface(), "HTMLOUT");
//webview.setWebViewClient(new WebPLZZClient());
//webview.setWebViewClient(new WebClient());
ViewGroup.LayoutParams bq1=webview.getLayoutParams();
bq1.height=LayoutParams.WRAP_CONTENT;
webview.setLayoutParams(bq1);
webview.loadDataWithBaseURL("file:///android_asset/KH_Brown_Fixed_Layout/",temp1, "text/html", "utf-8",null);
webview.loadUrl("javascript:window.HTMLOUT.getContentHeight(document.getElementsByTagName('html')[0].scrollHeight);");
However, I am unable to retrieve the content height of each page, even just for the first two pages.