Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7753187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:59:31+00:00 2026-06-01T11:59:31+00:00

Android ICS (api 14) introduced the ApplicationErrorReport class with the following info: CrashInfo BatteryInfo

  • 0

Android ICS (api 14) introduced the ApplicationErrorReport 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)

I tried this code:

ApplicationErrorReport appp = new ApplicationErrorReport();
CrashInfo test = appp.crashInfo;
Log.i(test.stackTrace);

but i get that test is null

How to get the crash information?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:59:32+00:00Added an answer on June 1, 2026 at 11:59 am

    In the ApplicationErrorReport API it says:

    ApplicationErrorReport()
    Create an uninitialized instance of ApplicationErrorReport.

    This means that the “type” of error is undefined, so it’s not a crash report and therefore the crashinfo is null.

    EDIT:
    I took a look at the source code. You can instantiate the CrashInfo part via the method readFromParcel(in) where the first int in the parcel is the int corresponding to ApplicationErrorReport.TYPE_CRASH. Alternatively you can create a CrashInfo object yourself and assign it to the ApplicationErrorReport, but this again requires a parcel if you want to CrashInfo data to be filled.

    I tried looking for code where it is used, but the only thing I could find is the ApplicationManagerNative (also using parcels).

    case HANDLE_APPLICATION_CRASH_TRANSACTION: {
            data.enforceInterface(IActivityManager.descriptor);
            IBinder app = data.readStrongBinder();
            ApplicationErrorReport.CrashInfo ci = new ApplicationErrorReport.CrashInfo(data);
            handleApplicationCrash(app, ci);
            reply.writeNoException();
            return true;
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed that in Android API Level 11 (ICS) MotionEvent has a transform method
I've been following the build tutorials on source.android.com in attempt to build ICS. When
I have the calendar.ics file. I have to read that file from my application
I do have the latest Android API and a ICS emulator running, but I
I understood that the GROUP BY clause is no longer supported in Android ICS
Is there some library that: Brings ActionBar API to pre-Honeycomb Android versions. Is based
Since Android ICS we have problems to verify our certificates we are getting from
as you can probably think I want to install Android ICS in VirtualBox. I
I created an Android project in AIDE on my android phone running ICS and
Android comes with lots of system resources ( android.R ) that can be used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.