开发者

Fetch current Url from android webkit browser

开发者 https://www.devze.com 2023-03-17 18:13 出处:网络
Is there a method to fetch the current url from the webkit browser of an android device. I dont want the Bookmarks or the Browsing history.. Only the current url.开发者_开发百科.

Is there a method to fetch the current url from the webkit browser of an android device. I dont want the Bookmarks or the Browsing history.. Only the current url.开发者_开发百科.

Else is there a way to create a plug in for this browser so that each time the user enters the url, it is sent to my app instead of it browsing in the web.


Visiting the android docs I found for you this special link: http://developer.android.com/reference/android/webkit/WebView.html#getUrl()

If this isn't what you wanted please specify again :)

0

精彩评论

暂无评论...
验证码 换一张
取 消