Retaining the state of Mediaplayer -android
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11438878/handling-screen-orientation-android">Handling Screen Orientation - Android</a>  </p>
</blockquote>



<p>In my application i am having a listview with list of songs and a button with play/pause option. how to handle screen orientation while playing a song. help me with samples...........</p>
