How to send ACRA exception report without closing APP (even showing dialog)
<p>I am trying to send ACRA exception report, without closing app, but it still closes the app and show the dialog. </p>

<p>I am sending exception report like this. </p>

<pre><code>   ACRA.getErrorReporter().handleException(finalException, false);
</code></pre>

<p>Second argument is responsible for closing app. 
But it still show dialog and app closes anyway. </p>

<p>Here is my configuration, but I don't think it will be useful </p>

<pre><code>@ReportsCrashes(
        reportType = org.acra.sender.HttpSender.Type.JSON,
        httpMethod = org.acra.sender.HttpSender.Method.POST,
        mode = ReportingInteractionMode.DIALOG,
        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.
        formUri = "aaaaaaaaa",
        formUriBasicAuthLogin = "oooooooo",
        formUriBasicAuthPassword = "bbbbbbbb"
)
</code></pre>

<p>Maybe I am doing something wrong, how to just send report in background and don't notify user. </p>

<p>Thanks.</p>

<p><strong>EDIT</strong></p>

<p>I have read source code and found only one way to do this.</p>

<pre><code>   ReportingInteractionMode previousMode = ACRA.getConfig().mode();
                try {
                    ACRA.getConfig().setMode(ReportingInteractionMode.SILENT);
                } catch (ACRAConfigurationException e) {
                    e.printStackTrace();
                }
                ACRA.getErrorReporter().handleException(finalException, false);
                try {
                    ACRA.getConfig().setMode(previousMode);
                } catch (ACRAConfigurationException e) {
                    e.printStackTrace();
                }
</code></pre>

<p>But it seems to be another better way to do this.</p>