I have a single Activity application, within it I have a service which
creates an AlarmManager and sends a broadcast to a broadcast Receiver.
If the activity which starts the services dies, (ie. divide by zero),
the broadcast receiver stops the old service which created the
AlarmManager.

It works the first time. The second time, it does not.

I am seeing the following messages in the logCat:

ActivityManager: Process  has crashed too many times: killing!
ActivityManager: Unable to launch app for broadcast Intent: process is
bad
                 finishReceiver called but not active

It seems like the AlarmManager is still active but the broadcast
receiver is no longer receiving. It works great once!

Anyone have any ideas? Thanks in advance.

-- 
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

Reply via email to