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:
webView
WebView
String webUrl = webView.getUrl();
See Here: http://developer.android.com/reference/android/webkit/WebView.html#getUrl()
1.4m articles
1.4m replys
5 comments
57.0k users