Hi Amit.
in html header
<script>
function onload(){
var url = window.loacation;
alert(url);
Android.currentUrl(url);
}
</script>
<body onload="onload()">
Moktarul
On Monday, 5 March 2012 18:03:30 UTC+5:30, Amit wrote:
>
> 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,
>
On Monday, 5 March 2012 18:03:30 UTC+5:30, Amit wrote:
>
> 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 to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en