I've applications like - spotify, youtube, netflix ect. I've my application.
When I run spotify -> and then switch to "my application" I want to mute spotify sound while I'm watching/listening on my application.
How can this be done? I tried to look into "AudioManager", but it is not a good option always, because you mute all the system...
I want to make sure that when I try to listen something on my application, then all the background app sounds are muted.
Can someone show me atleast direction? Thanks.