Reputation: 6923
I have created an application that read messages with voice. I would like to pause any running media player when a message arrives in order to make the voice more clear. Is there any intent that could achieve this aim? I have noticed that google navigator, for example, is able to pause media player (and other music app like pandora).
Thanks in advance Tobia Loschiavo
Upvotes: 2
Views: 707
Reputation: 1379
This is not an intent, but have you tried AudioManager and requestAudioFocus?
Sadly its only from API 8
Upvotes: 2