cwelch
unread,Jan 5, 2012, 8:18:45 PM1/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to acra-discuss
Using ACRA v4.2.3 and have everything working except when I try to
configure it for status bar notification mode.
The notification appears, but when I press it, nothing happens, no
dialog pops up.
LogCat shows:
01-05 20:05:02.112: I/ActivityManager(7172): Starting: Intent
{ cmp=com.neumes.android.timeismoney/org.acra.CrashReportDialog
bnds=[0,647][480,743] (has extras) } from pid -1
01-05 20:05:02.472: W/InputManagerService(7172): Window already
focused, ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy@40c46d30
Coding (cut and paste from the example:
@ReportsCrashes(formKey = ".......................",
mode = ReportingInteractionMode.NOTIFICATION,
resToastText = R.string.crash_toast_text, // optional,
displayed as soon as the crash occurs, before collecting data which
can take a few seconds
resNotifTickerText = R.string.crash_notif_ticker_text,
resNotifTitle = R.string.crash_notif_title,
resNotifText = R.string.crash_notif_text,
resNotifIcon = android.R.drawable.stat_notify_error, //
optional. default is a warning sign
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.
)
Manifest:
<activity
android:name="org.acra.CrashReportDialog"
android:theme="@android:style/Theme.Dialog"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true"/>
and string values have been setup.
Any ideas?
Tx,
Chris