hi All, I'm working on a small app where I'm trying to play one mp3 media using the default mediaplayer (android.media.MediaPlayer). In this regard, I wanted to know, does the mediaplayer keep running even when the orientation changes? I think, since the mediaplayer runs as a service, it must be running until we manually release the mediaplayer using something like: mMediaPlayer.release(). Would appreciate if someone can point me in the right direction.
Actually, I'm trying to understand how to save states and what all I've to save during orientation change. As a sample I'm able to save the state of a continuously updating seekbar during orientation change and wanted to implement the same feature for media player as well. I don't think we'll have to stop and restart the mediaplayer during orientation changes. I even tried the default player on my android device and I did not notice any such lag during orientation changes, it just plays smoothly. Appreciate your time. Thanks, KK -- 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