resuming my application from background
<p>i have created an application its a music player with just a simple layout one button for play and stop. when i press the play button the music start to play and the play button change to stop button.. then when i press the back button the application goes in to background so i have to go to the menu and launch the application from there the problem is if i do that android starts a new instance of my application and the stop button is back to play button .. which i dont want to.. all i want is that android resume my application and bring it back to foreground and retain the state of all my buttons.</p>
