title: How to prevent the user from accessing anything other than the app running on public exposed device?
body: <p>I've a web app that must prevent users from accessing anything else than the application itself that is currently running on the device. Why? The device is exposed to the community and despite of being docked with a protection there are always some features that we can still access such as the settings pull down menu.</p>
  
  <p>Android devices typically exposes 5 different areas of interaction that can "manipulate" the device which are:</p>
  
  <ul>
  <li><p>pull down settings</p></li>
  <li><p>the home button (press and long press)</p></li>
  <li><p>the power button</p></li>
  <li><p>the recents button (<a href="http://developer.android.com/design/handhelds/index.html" rel="nofollow">http://developer.android.com/design/handhelds/index.html</a>)</p></li>
  </ul>
  
  <p>Until the user access a admin panel were he types a secret close to close the app the app must no be closed.</p>
  
  <p>Is there a way to achieve this natively or via phonegap (maybe some plugins out there)? 
  I know that phonegap already fires events for <code>home</code> and <code>backbutton</code> as you can see here but i need more.</p>
  
  <p><strong>The list of supported events:</strong>
  <a href="https://cordova.apache.org/docs/en/5.1.1/cordova_events_events.md.html#menubutton" rel="nofollow">https://cordova.apache.org/docs/en/5.1.1/cordova_events_events.md.html#menubutton</a></p>