A MediaPlayer object will not pause when a call comes in. You'll have to do that yourself. The original poster was talking about "switching the screen to MediaPlayer", so I assumed he was talking about the 'Music' application, which *does* pause.
On Mon, Mar 16, 2009 at 1:35 PM, Jason Van Anden <[email protected]> wrote: > MediaPlayer keeps playing after I answer a call using my app. I was > assuming that I was responsible for pausing it and was planning to figure > out how this might be done (like, which intent I am listening for). Is the > MP supposed to just pause automatically? > > i++ > > On Mon, Mar 16, 2009 at 4:08 PM, Marco Nelissen <[email protected]> wrote: >> >> The music player will automatically pause when a call comes in, >> however if you then decide to resume playback while you're in the >> call, that's your choice, and we won't prevent you from doing so. >> >> >> On Sun, Mar 15, 2009 at 8:16 PM, roger fang <[email protected]> wrote: >> > >> > Hi all, >> > >> > When you pick up the call and switch the screen to MediaPlayer to play >> > an audio, it is able to be heard from handset (receiver). >> > >> > Thus, you can hear the far-end voice and your local music at the same >> > time. >> > Is it a normal behavior? >> > >> > Android seems not to have the mechanism to let Mediaplayer to remember >> > its status (to keep music pause or mute?) in the phone call. >> > >> > Or this is a normal design for notification sounds, such as a call- >> > waiting sound? >> > Is it possible to have an secondary gain feature like windows mobile >> > in the future? >> > >> > Thanks. >> > >> > roger >> > >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

