title: catch all types of errors from whole application Android
body: <p>I have a big Android application and I have a requirement to log all types of errors that could happen in my Application including <code>"Out of memory"</code> etc. 
  Is it possible to accomplish?</p>
  
  <p>I can use </p>
  
  <pre><code>try {
  
  } catch(throwable t) {
  
  }
  </code></pre>
  
  <p>but adding a whole code to <code>try/catch</code> sounds bad. And how can I catch an errors like "out of memory"?</p>