title: Lock activity on the screen
body: <p>I have a question about Android Activities.</p>
  
  <p>How to lock current activity on screen and block any navigation/starting new activities?</p>
  
  <p>I have a application, based on WebSocket communication system. And on new transaction started i need to wait for getting any communication result (success or error) and only then i can run new activity or go to previous activity.</p>
  
  <p>But how to implement there? I need to universal method, who will be able to intercept any navigation attempts of standard keys and any navigation attempts of user code.</p>
  
  <p>Thanks.</p>