Get All Url In Webview When Page Loads
I am able to load a html page in a webview successfully. I can also get the url which is clicked on webview by setting the webviewclient. But what i want is something diffrent, i
Solution 1:
If you want to get all urls on page you need html parser. Try jsoup If you don't want to use external libs on your project you can create own parser.
1) Load source page via HttpUrlConnection or HttpClient
2) Use some reader to iterate page content by line
3) Create regexp expression to extract links.
Post a Comment for "Get All Url In Webview When Page Loads"