Broadcast Receiver / Service will only restart my activity once.

by AuxOne » Thu, 18 Mar 2010 04:30:39 GMT

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

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


Other Threads

1. How can i know current foreground activity(not from service)?

Hi there..

I am having alert generation application. I want to start or switch to
other(Third) activity from current activity(foreground) using another
activity's context(middle). From current activity(foreground) i m
switching to other(middle) activity using intents and from this
switched activity again i m switching to another(third) activity using
intents. Due to such scenario, i am getting little but flash of middle
activity in between current foreground activity and final most(third)
How can i resolve this one?

For this purpose i want to know current foreground activity or is
there any other solution?

I am not having any ideas about this one. Highly appreciate solutions.

Thanks in advance


2. Regarding Page Curl...

Hi All,

Can Any one help me in Page Curl Coding by proiding me Some sample codes
Plz...I need it to implement it in my App so...



3. Call Tracing on Android

4. Settings app, 2nd app, ui fragments and activities

5. Writing Code for .wmv streaming in android

6. How to initialize KeyboardView

7. Problem with DefaultHttpClient in LG P500h android.