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

--



Other Threads

1. [WTS/WTT] Motorola Droid X

update untuk penjualan droid x nya, karena satu dan lain hal saya
mempertimbangkan untuk tukar tambah (saya yg tambah) dengan motorola defy
bnib garansi resmi.

kalo mau beli droid x nya saja bisa japri ke email ini, keterangannya sudah
ada di email sebelumnya.

terimakasih rr.

*DX 2.2*



mulus,
lepas

-- 
"

2. building hello-jni sample in Android NDK causes error 鈥淒efault target help does not exist in this project鈥

Trying to build hello-jni sample in Android NDK. Followed instructions
to create build .xml per 
http://developer.android.com/sdk/ndk/overview.html#samples

android update project -p . -s

Trying to run under Eclipse Helios SR2. I get this error:

Description Resource Path Location Type Default target help does not
exist in this project build.xml /HelloJni line 2 Ant Buildfile Problem

in build.xml,

<project name="HelloJni" default="help">
any suggestions appreciated.

-- 

3. removing status bar

4. SQLite Open failed

5. Tree View

6. remove app natives

7. In android how to search that sharedpreference contains some value or not?