Handling Screen Orientation - Android
<p>I am having a problem in screen orienation in my application. I created an alternate layout in res/layout-lan folder for landscape mode. The problem occurred during orientation change,</p>

<p>1.An activity get recreated without destroying the old activity.</p>

<p>2.since i am using mediaplayer in my app,on screen rotation the .mp3 is playing on both orientation concurrently..</p>

<p>I am unable to find proper sample code for handling screen orientation with saving and restoring the state of the activity..............</p>
