I'd like to extend that question. I have done some testing now. I have completly dropped the BroadcastReceiver (waiting for Boot completed) from my Manifest. But after rebooting I can see the "myapp" thread being up again and I'm getting the "not responding" message. And this happens with NO broadcast receiver at all. Even when my application is not running (killed it completly) after a reboot it gets started somehow. (thread is up and not responding message) But my background service is not started (which I can see from the logs).
I am totally confused now. What could result in a automatic start of my application? (with no Broadcast receiver registered) I'm really really looking forward reading your messages because this all doesn't make any sense to me. On 14 Jan., 16:19, code_android_festival_way <festival.s...@googlemail.com> wrote: > Hello. > > I am talking about an application which works with a background > service. To start that background service I have registered a > Broadcast Receiver which waits for the boot completed action. When the > receiver is called I am directly starting up the background service. > > To sum up: > > MyBroadcastReceiver waiting for boot completed -> starting > backgroundservice -> backgroundservice sitting in the background doing > its job. > > Why do I get "/my application name/ not responding" directly after the > reboot. (even before the broadcast receiver got called) Does the > system automatically restart services that had been running in the > background before the restart of the system? Or why do I get this > message. > > I'm looking forward reading your answer. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---