-
public final class CrashReportDialogHelperUse this class to integrate your custom crash report dialog with ACRA.
Call this in your android.app.Activity.onCreate. The intent must contain two extras:
-
-
Field Summary
Fields Modifier and Type Field Description private final CoreConfigurationconfigprivate final CrashReportDatareportData
-
Constructor Summary
Constructors Constructor Description CrashReportDialogHelper(Context context, Intent intent)
-
Method Summary
Modifier and Type Method Description final UnitcancelReports()Cancel any pending crash reports. final UnitsendCrash(String comment, String userEmail)Send crash report given user's comment and email address. final CoreConfigurationgetConfig()Provides the configuration final CrashReportDatagetReportData()loads the current report data -
-
Method Detail
-
cancelReports
final Unit cancelReports()
Cancel any pending crash reports.
-
sendCrash
final Unit sendCrash(String comment, String userEmail)
Send crash report given user's comment and email address.
- Parameters:
comment- Comment (may be null) provided by the user.userEmail- Email address (may be null) provided by the user.
-
getConfig
final CoreConfiguration getConfig()
Provides the configuration
-
getReportData
@WorkerThread() final CrashReportData getReportData()
loads the current report data
-
-
-
-