"Is it enough/OK to set the current instance to the (previously) next one in an OnCompletionListener?"
I guess it's not enough because the currently playing mediaplayer is already finished when the onCompletion-method gets called. In my case it didn't work. On Tuesday, July 3, 2012 12:38:33 PM UTC+2, Mirko Schenk wrote: > > Hi, > > is there any additional information about how to use setNextMediaPlayer in > Jelly Bean? > I mean, it's fairly easy to start with, just prepare a new MediaPlayer and > pass it to setNextMediaPlayer. > But some time in the future, my app still has the reference to the old > MediaPlayer while the new one is playing, or maybe even both instances are > playing during some kind of crossfade. So how to pause/continue, stop, etc. > reliable? Is it enough/OK to set the current instance to the (previously) > next one in an OnCompletionListener? > > Regards > Mirko > -- 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