I'm using a mediaplayer to play a sound file, when you leave the
application the sound continues in the background, which is the
desired behaviour.

However, when the app is resumed, the mediaplayer isn't retrieved, so
hitting pause just starts a new player so now there are two sounds
playing.

Is the mediaplayer a type of service? How can I access the original
player again?
--~--~---------~--~----~------------~-------~--~----~
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