title: Using menu button in phonegap's in app browser android
body: <p>So my phonegap opens IAB(In App Browser).</p>
  
  <p>How can I modify InAppBrowser.java to give a callback to the menu(settings) key from android?</p>
  
  <p>basically what needs to be done is, if you press the menu button. It injects js into the IAB.</p>
  
  <p>So for you people </p>
  
  <pre><code>app.iabRef.addEventListener('backbutton', onBack, false);
  app.iabRef.addEventListener('menubutton', onMenu, false);
  </code></pre>
  
  <p>This does NOT work for in app browser.</p>
  
  <p>Appreciate the help!</p>