I am trying to use a theme tune throughout all my activities. From other Stack Overflow questions it has been suggested that a Service is the correct way to do this. In order to stop the theme tune from playing I need to detect when an activity is executed that isn't part of my application.
Is there any way to do this?