How to get crash dialog with report button

I purposely make my own application crash. I get the following dialog.

enter image description here

  • Push notification works incorrectly when app is on background or not running
  • Dynamically add items to list view using custom adapter for Android app
  • What is the `Authorization` part of the http post request of Google's Firebase Downstream message?
  • How to find View from string instead of
  • How to enforce EditText to start text in capital letter?
  • Android Collapsing Toolbar not using inertia like Google Play App does
  • However, I wish to get the following crash dialog with report button.

    enter image description here

    May I know how I can do so? I had signed my application. (But I transfer the APK locally to my phone, not through Android market). I still can’t get the Report button.

  • Android Viewpager saving data and views
  • How to wait for a thread to finish before another thread starts in Java/Android?
  • Android Proguard - only obfuscation
  • Okhttp response callbacks on the main thread
  • Finding all available styles defined by android platform themes
  • NetBeans and stop/break on all Exceptions?
  • 3 Solutions collect form web for “How to get crash dialog with report button”

    As far as I know, the Report button only shows when the app is installed via the Market (i.e. is signed and not in debug mode nor with a debug key). This data is all shown in LogCat if you are USB debugging.

    Edit: Also, you can catch this information and file a report yourself if you want, using this method.

    Use the acra library in your app. This basically “is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form”. You can modify its use to pop up a dialog like the above, and ask the user to report the issue, with an additional user-typed message, even.

    Your phone may running a customized rom like CM.
    If you want to report log when your app get FC,one way is catch exceptions and mail them.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.