title: How to get the crash info from ApplicationErrorReport class?
body: <p>Android ICS (api 14) introduced the <code>ApplicationErrorReport</code> class with the following info: 
  CrashInfo BatteryInfo and ANRInfo. From the class overview it seems that this class refers to all application installed on the device and not for debugging your own personal application.
  I cannot seem to reach that information (simulated crashes and anr's)</p>
  
  <p>I tried this code:</p>
  
  <pre><code>ApplicationErrorReport appp = new ApplicationErrorReport();
  CrashInfo test = appp.crashInfo;
  Log.i(test.stackTrace);
  </code></pre>
  
  <p>but i get that test is <code>null</code></p>
  
  <p>How to get the crash information?</p>