Re: [android-developers] Problem in getting height of contetn in Webview

2012-08-01 Thread Tomas Prochazka
In WebViewClient.onPageFinished is getContentHeight still 0 :-( Dne čtvrtek, 10. června 2010 3:17:19 UTC+2 yangjian napsal(a): Did you show the webview in a activity? If you are not show it the getContentHeight() will return 0; Try to call getContentHeight use the WebView reference

[android-developers] Problem in getting height of contetn in Webview

2010-06-09 Thread brijesh masrani
hello, I have a HTML file in a web view. I want to find the length of the content of that HTML file. I have tried all methods like *getContentHeight*() and *getHeight*() but it doesn't gave me the exact height which i want. There is one Protected method in View class

[android-developers] Problem in getting height of contetn in Webview

2010-06-09 Thread brijesh masrani
hello, I have a HTML file in a web view. I want to find the length of the content of that HTML file. I have tried all methods like *getContentHeight*() and *getHeight*() but it doesn't gave me the exact height which i want. There is one Protected method in View class

RE: [android-developers] Problem in getting height of contetn in Webview

2010-06-09 Thread 楊健
Did you show the webview in a activity? If you are not show it the getContentHeight() will return 0; Try to call getContentHeight use the WebView reference witch WebViewClient.onPageFinished(WebView view, String url) returned. _ From: android-developers@googlegroups.com