You will have to handle the orientation change yourself, since otherwise the surface that the video is displayed on goes away.
On Wed, Mar 18, 2009 at 11:30 AM, Andres Calvete <[email protected]> wrote: > > I know this question has been asked previously because I have read the > other postings over a hundred times but yet I cannot come up with an > answer on how to use keep a MediaPlayer object playing over an > orientation change. I've read that you can use > onRetainNonConfigurationInstance() to pass an object to your future > self when the activity is destroyed/recreated, but I can't keep a > video playing in this circumstances. Does anybody have an example or > an advice/guide on how to do this? or rather what do I pass on > onRetainNonConfigurationInstance() to keep the video playing after an > orientation change? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

