I have a Subview that load a Webview, i want to get the url of the webView when my webView load a site,can you tell me how to get the url of the webView. thank you.
Assuming webView
is the name of your WebView
, you could use:
String webUrl = webView.getUrl();
See Here: http://developer.android.com/reference/android/webkit/WebView.html#getUrl()