Is there any way to get a list of all services bound to an application? It seems there has been cases where my application does not close the service when it should. It works fine when I test it but I've seen cases where it does not seem to close. Which results in two services when there should only be one.
I use this code to bind the service from my activity.
bindService(new Intent(this, XmppService.class), xmppConnection, Context.BIND_AUTO_CREATE);
Is there any way of getting a reference to this bound service and shut it down?