What I have: I have a WebView. I am loading an HTML file in it. There is a button in that HTML.
What I want: I want to intercept the click of that HTML button. Lets say there is an email scheme in that URL. I want to intercept the request so that I can extract the email information (i.e. Subject, Body etc) and open an Email Client before loading the page actually.
What is the problem: I can't figure out on how to get the URL and filter it on HTML button click. There should be an event which should be fired whenever we make any request from WebView. Please guide on how to achieve this task.