@ReportsCrashes(mailTo = "proninyaroslav@mail.ru", mode = ReportingInteractionMode.DIALOG, reportDialogClass = ErrorReportActivity.class) public class MainApplication extends Application { @SuppressWarnings("unused") private static final String TAG = MainApplication.class.getSimpleName(); @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); Utils.migrateTray2SharedPreferences(this); ACRA.init(this); EventBus.builder().logNoSubscriberMessages(false).installDefaultEventBus(); } }
/** * Created by user1 on 10/16/2016. */ @ReportsCrashes(mailTo = "m.garebaghi@gmail.com", mode = ReportingInteractionMode.DIALOG, resDialogText = R.string.crash_report, resDialogTitle = R.string.crash_title, resDialogTheme = R.style.AppCompatAlertDialogStyle, resDialogIcon = R.mipmap.ic_launcher) public class MyApplication extends SugarApp { @Override public void onCreate() { super.onCreate(); ACRA.init(this); } }
/** * Created by zkhan on 1/25/16. */ @ReportsCrashes(mailTo = "apps4av@gmail.com", customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.STACK_TRACE}, mode = ReportingInteractionMode.DIALOG, resDialogIcon = android.R.drawable.stat_notify_error, resDialogTitle = R.string.CrashLabel, resDialogText = R.string.CrashText) public class AvareApplication extends Application { @Override public void onCreate() { super.onCreate(); // The following line triggers the initialization of ACRA ACRA.init(this); } }
@ReportsCrashes(mailTo = "hiteshkrsahu@gmail.com", customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.STACK_TRACE, ReportField.LOGCAT}, mode = ReportingInteractionMode.TOAST, resToastText = R.string.crash_toast_text) public class AppController extends Application { public static final String TAG = AppController.class.getSimpleName(); private static AppController mInstance; public static synchronized AppController getInstance() { return mInstance; } @Override public void onCreate() { super.onCreate(); mInstance = this; // The following line triggers the initialization of ACRA for crash Log Reposrting if (PreferenceHelper.getPrefernceHelperInstace().getBoolean( this, PreferenceHelper.SUBMIT_LOGS, true)) { ACRA.init(this); } } }
@ReportsCrashes(//mailTo = "kandroid@andres.in", formUri = "https://uber.andres.in/crashreport/report.php", //customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.USER_COMMENT, ReportField.STACK_TRACE, ReportField.LOGCAT }, mode = ReportingInteractionMode.DIALOG, excludeMatchingSharedPreferencesKeys={"username", "password", "serverurl"}, httpMethod = HttpSender.Method.PUT, reportType = HttpSender.Type.JSON, logcatArguments = { "-t", "200", "-v", "time", "Kandroid:d", "InstantRun:s", "*:e" }, resDialogIcon = android.R.drawable.stat_notify_error, resDialogTitle = R.string.acra_dialog_title, // resDialogText = R.string.acra_dialog_text, resDialogText = R.string.acra_dialog_text_upload, // resDialogPositiveButtonText = R.string.acra_send_mail, resDialogCommentPrompt = R.string.acra_dialog_comment_prompt) public class KandroidApplication extends Application { @Override public void onCreate() { super.onCreate(); Log.i(Constants.TAG, "Start ACRA"); ACRA.init(this); } }
@ReportsCrashes( formUri = "https://sushi2k.cloudant.com/acra/_design/acra-storage/_update/report", reportType = HttpSender.Type.JSON,
@ReportsCrashes(formKey = "", httpMethod = Method.PUT, reportType = Type.JSON,
@ReportsCrashes( httpMethod = HttpSender.Method.PUT, reportType = HttpSender.Type.JSON,
@ReportsCrashes( mailTo = "mgit@manichord.com", mode = ReportingInteractionMode.TOAST,
@ReportsCrashes(mode = ReportingInteractionMode.DIALOG, mailTo = "andstatus@gmail.com", resDialogIcon = R.drawable.icon,
@ReportsCrashes(logcatFilterByPid = true) //formKey = "", public class TaxiApplication extends Application { //extends MultiDexApplication {
@ReportsCrashes(formUri = "", // will not be used mailTo = "koras@indywidualni.org", mode = ReportingInteractionMode.DIALOG,