[android-developers] Calling the stop() function of MediaPlayer
Hi! I don't know if I'm doing something wrong, but I see calling the
stop function of MediaPlayer simply does nothing. The playback goes
on. I looked in the documentation and I found:
"Stops playback after playback has been stopped or paused."
So, I tried to pause() it before stopping, but the MediaPlayer then
pauses and resumes the playback. The only thing I can see is that the
buffering stops. But the playback continues. Is this the expected
behavior? Could the problem be related to the fact that I call the
methods of the MediaPlayer object from different threads than the
creator by synchronizing with Semaphores?
Thanks!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home