title: webview content height
body: <p>I am facing one problem.  What I am doing is:</p>
  
  <p>I am loading 3 html pages inside webview in sequence in android and after loading each page want to get the height of each page.</p>
  
  <pre><code>  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);");
  </code></pre>
  
  <p>But I am not able to get the content height of each page, at least I want to get the height of first two pages.</p>