Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Programmatic configuration for sending report via e-mail and dialog
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom anMoney  
View profile  
 More options Oct 20 2012, 1:42 am
From: Tom anMoney <android.mo...@gmail.com>
Date: Fri, 19 Oct 2012 22:42:47 -0700 (PDT)
Local: Sat, Oct 20 2012 1:42 am
Subject: Programmatic configuration for sending report via e-mail and dialog

I've been pulling my hair out on this for the last 2 hours.

I cannot get the programmatic config to work with sending an e-mail and a
pop-up dialog.

The closest I got was:

@ReportsCrashes(formKey = StringUtils.EMPTY, //
mailTo = "myem...@gmail.com")
public class MyApp extends Application
{
            ACRA.init(application);

            ACRAConfiguration configuration = ACRA.getConfig();

configuration.setResNotifTickerText(R.string.unexpected_error_notification_ ticker);

configuration.setResNotifTitle(R.string.unexpected_error_notification_title );

configuration.setResNotifText(R.string.unexpected_error_notification_text);
            configuration.setResNotifIcon(R.drawable.icon_notify_error);
            configuration.setResDialogTitle(R.string.app_name_display);

configuration.setResDialogText(R.string.unexpected_error_warning);

configuration.setResDialogCommentPrompt(R.string.unexpected_error_comment);
            configuration.setResDialogOkToast(R.string.thank_you);
            configuration.setMode(ReportingInteractionMode.NOTIFICATION);

            ACRA.setConfig(configuration);

}

But this will go to the e-mail app without popping up the dialog that the
same static configuration options do.

I've tried many different things, like leaving out the e-mail from the
ReportCrashes and putting into code, but that's even worse, I get a dialog,
but then just a toast and no e-mail

What am I doing wrong?

Thanks,
Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »