title: Detect click on HTML button through javascript in Android WebView
body: <p>I'm not highly familiar with javascript but I think this is the best way to accomplish my purpose. If not, please correct me.  </p>
  
  <p>I have a licence text 2 buttons at the end. All of this is written in HTML in a <code>WebView</code> because there are some links in the licence. Now, I want that when the user clicks the "ok" button in the <code>WebView</code>, this triggers some javascript or listener that I can grab in Java to fire an <code>Intent</code> to go forward in the application. (The cancel button would do the opposite, but if I know how to do one, I can do the other. ;) )</p>
  
  <p>Does this rings any bell to someone?
  Any explanation or sample code is welcome.</p>