I found the answer at 
http://stackoverflow.com/questions/1993471/android-can-i-mute-currently-playing-audio-applications

On Feb 10, 12:06 pm, Heidi Zhou Nolan <heidi.z...@gmail.com> wrote:
> Hello!
>
> My application needs to support Android platform 2.1.x (which is
> Android API level 7). I need to use requestAudioFocus and
> abandonAudioFocus to pause other applications (e.g. Music) to play
> when my application starts playing media and resume them after my
> application stops.
>
> However, these two functions are only available at level 8 and above.
> What are the equivalent functions at API level 7? Or how to do this
> before API level 8?
>
> Thanks in advance for any help.
>
> Heidi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to