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
Selecting ACRA notification doesn't display dialog, LogCat shows "Window already focused, ignoring focus gain of:......"
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
 
cwelch  
View profile  
 More options Jan 5 2012, 8:18 pm
From: cwelch <ve3...@gmail.com>
Date: Thu, 5 Jan 2012 17:18:45 -0800 (PST)
Local: Thurs, Jan 5 2012 8:18 pm
Subject: Selecting ACRA notification doesn't display dialog, LogCat shows "Window already focused, ignoring focus gain of:......"
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


 
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 »