Hi,
I am exposing java script function from my webview. This Java script
function is called by webcore thread on-page-loading inside webview. Is
there any way to retrieve current loaded url inside called Java script
function?
Thanks,
--
You received this message because you are subscribed
chk this one, will u in getting the url
client = new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String
url) {
return true;
}
};
On Mon, Mar 5, 2012 at 6:03 PM, Amit agrawalamit2...@gmail.com
shouldOverrideUrlLoading() is called in webview thread and androdi calls JS
function webviewcorethread. there is no guarantee that
shouldOverrideUrlLoading() is called prior to JS call even though JS
function is called on onload(). Infact in Android3.0/3.1,
shouldOverrideUrlLoading() is
3 matches
Mail list logo