How to get Android error code of an application which crashes abnormally
<p>I am trying to get the error code of an application which crashes abnormally. I am able to get <em>error cause</em>. For example:</p>

<blockquote>
  <ol>
  <li>"01-31 11:45:08.459: E/AndroidRuntime(680): Caused by: java.lang.NullPointerException "  </li>
  <li>"Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.foo/.bar}; have you declared this activity in your AndroidManifest.xml? ".</li>
  </ol>
</blockquote>

<p>But I am not able to get the <em>error code</em> from logs. Is there any way to get it?</p>
