2013-06-28 3 views
0

acra를 사용하여 전자 메일 지원을받은 크래시 덤프를 추가하려고합니다. 앱 재시작에 대한 대화 상자를 표시하는 옵션이 있다고 생각합니다. 응용 프로그램이 살해되기 전에 충돌이 발생하는 경우크래시 안드로이드에 대한 ACRA 대화 상자 및 전자 메일 대상

아래는 내 reportCrash

나는 앱 다시 시작할 대화 상자를 표시 할 수있는 옵션이 있다고 생각하지 않습니다
@ReportsCrashes(formKey="dGVacG0ydVHnaNHjRjVTUTEtb3FPWGc6MQ", 
mode = ReportingInteractionMode.DIALOG, 
customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, 
     ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, 
     ReportField.STACK_TRACE, ReportField.LOGCAT },     

resToastText = R.string.crash_toast_text, // optional, displayed as soon as the crash occurs, before collecting data which can take a few seconds 
resDialogText = R.string.crash_dialog_text, 
resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign 
resDialogTitle = R.string.crash_dialog_title, // optional. default is your application name 
resDialogCommentPrompt = R.string.crash_dialog_comment_prompt, // optional. when defined, adds a user text field input with this text resource as a label 
resDialogOkToast = R.string.crash_dialog_ok_toast // optional. displays a Toast message when the user accepts to send a report. 
) 

답변

0

, 그것은 일반적으로 보여줍니다. 하지만 당신이 가지고있는 설정은 대화 상자의 디스플레이에 맞게 보입니다.

한 단어의 경고로 Google 문서 도구를 사용하여 오류 보고서를 캡처하는 기능이 이제는 더 이상 사용되지 않습니다. Acralyzer와 같은 백 엔드를보고하는 또 다른 충돌을 찾아야합니다.

+0

mailto 옵션을 추가하는 경우 전자 메일을 준비하거나 보내지 않아도됩니다. 나는 너에게 고마워한다. – mSO