Does anyone know a way to detect if a button with this, code below, in the source of the webpage is pressed in my apps webview?
html source of button:
<input id="testBtn" name="testBtn" type="button" value="Test Button"
class="button" onclick="test.run(this.id,'onclick');return false;"
onkeydown="test.run(this.id,'onkeydown');return false;" title="Test Button">
and then make a toast?
P.s. I cant change html code it is not my site
that will be easy just define your Javascript Interface
Add the Javascript Interface to you webview