title: Overriding back button in sencha app for Android
body: <p>While using a sencha touch app on Android, is it possible that the device back button behaves completely as it behaves for a native Andriod app? <a href="https://stackoverflow.com/questions/11790860/how-to-handle-device-back-button-on-sencha-touch-application">This</a> thread addresses the same problem. The suggested solution is</p>
  
  <pre><code>if (Ext.os.is('Android')) {
      document.addEventListener("backbutton", Ext.bind(onBackKeyDown, this), false);
  
      function onBackKeyDown(eve) {
  
          eve.preventDefault();
  
          //do something
          alert('back button pressed');
  
      }
  }
  </code></pre>
  
  <p>but in this function, how can i go to the previously visited screen?</p>