In my memory, Android has a class that take care of device audio stream. Maybe you can investigate on this class.
On Jul 2, 5:40 pm, hmmm <[email protected]> wrote: > Hi, > > I'm developing an application which plays some music files. I want to stop > any other audio playback when my application starts playing the music. > I've looked at the source code of the Music application and figured out how > to to pause the Music application using the intent > "com.android.music.musicservicecommand" > > But there can be many other applications which can play the music too, > creating their own MediaPlayer objects. Is there a way to pause or stop all > the msic currently being played? > > Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

