Is there a way to be informed about other apps failing? I am
interested in ANR events and application crashes.
I played with the PACKAGE_RESTARTED broadcast as the only intent I
found, but even that seems not to be sent to my receiver. Here is the
piece from the Manifest:
<receiver android:name=".MyReceiver" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="android.intent.action.PACKAGE_RESTARTED" />
</intent-filter>
</receiver>
I get the other intents, but not PACKAGE_RESTARTED.
Nexus One, Android 2.2.1
Question1: Is it correct that android.intent.action.PACKAGE_RESTARTED
is broadcasted when a user clicks on ForceClose in the ANR pop-up?
Question2: Is there anything missing in the Manifest to get the
PACKAGE_RESTARTED intent (?permissions?). I am using Android 2.2.1,
the other intents listed above are received fine.
Question 3: Is there more that I can track (complete application
crashes for example)? And how?
Thanks for your help,
Rick
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en