org.acra.sender
Class EmailIntentSender
java.lang.Object
org.acra.sender.EmailIntentSender
- All Implemented Interfaces:
- ReportSender
public class EmailIntentSender
- extends Object
- implements ReportSender
Send reports through an email intent. The user will be asked to chose his
preferred email client. Included report fields can be defined using
ReportsCrashes.customReportContent(). Crash receiving mailbox has to be
defined with ReportsCrashes.mailTo().
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailIntentSender
public EmailIntentSender(android.content.Context ctx)
send
public void send(CrashReportData errorContent)
throws ReportSenderException
- Description copied from interface:
ReportSender
- Send crash report data. You don't have to take care of managing Threads,
just implement what is necessary to handle the data. ACRA will use a
specific Thread (not the UI Thread) to run your sender.
- Specified by:
send in interface ReportSender
- Parameters:
errorContent - Stores key/value pairs for each report field. A report field
is identified by a ReportField enum value.
- Throws:
ReportSenderException - If anything goes fatally wrong during the handling of crash
data, you can (should) throw a ReportSenderException
with a custom message.
Copyright © 2010-2012. All Rights Reserved.