Unless there are some serious bugs in the Log class (which I doubt) it wasn't running two instances of the service because I logged every aspect of the service and the client's life cycles and included thread IDs and process IDs when doing so.
I did this for all the variations I used to try and solve the problem. There was only ever one instance of the server. This instance was running in its own process. The client was running in its own process. The client could start/stop the service just fine. The clients could bind the service just fine (for multiple interfaces as well.) The clients could register and unregister their callbacks just fine. The service could call the clients on their callback interfaces just fine IF the service's threadpool was making the calls. The service could NOT call the clients on their callback interfaces IF the service's main thread or message handler was making the calls. All of this was logged for analysis. As I posted in both threads, removing the <service/> entry in the clients' manifests and simply adding a name action (in this case "TEST_SERVICE") and changing the clients' methods for starting/ stopping the service to use an Intent created via the "TEST_SERVICE" allowed all the same abilities except you COULD call the clients' on their callback interfaces from the service's main thread and/or message handler. It is probably very easy to reproduce. Take the "REMOTE_SERVICE" name out of the Remote Service section of the manifest for the API samples and add a <service/> entry for RemoteService in the sections of the manifest for the remote binding/controlling activities. Hans --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---