Hi All, I have 2 doubts in using the MediaPlayer class exposed in android: 1. What is the correct sequence of events for playing the same video clip multiple times without exiting the player? The sequence I am following is: (surfaceCreated)->new MediaPlayer->setDataSource->setDisplay-> prepare->(onPrepared)->play->stop/EOS->prepare-> (onPrepared)->play->stop/EOS...... Is the sequence correct or Am I missing any step?
2. What is the correct sequence of events for playing different videos one after the other without exiting the player? (surfaceCreated)->new MediaPlayer->setDataSource->setDisplay-> prepare->onPrepared)->play->stop/EOS->setDataSource->setDisplay-> prepare->(onPrepared)->play->stop/EOS...... Is the sequence correct or Am I missing any step? Please let me know the details or point to any post regarding this. Thanks in advance..... Sandeep -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.