How can i get info about source (filedesc. or uri) from which another application playing audio?
In AudioManager there is only isMusicActive() method, which doesn't give any additional information. And because of it isn't my application, i doesn't have any MediaPlayer object.
Register a broadcast receiver for known action intents and handle the broadcast to show or do something with the track information, source: