views:

35

answers:

1

Hi,

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

A: 

This is not an intent, but have you tried AudioManager and requestAudioFocus?

Sadly its only from API 8

tibnor