Yes I did look at that. I chose to implement the MessengerService example because I want the main activity to receive messages from the service also.
I believe the implementation is exactlly the same. In the main activity onCreate(), I have startService( new Intent( this, MainService.class) ); doBindService(); So when I kill the main app (remove from the recently used list), that leaves the service running. But when I restart the app (by clicking on the icon) - it seems to re-create the service. Not sure why that's happening - because it was running. Would a startForeground() in the service help? -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

