Hello,
I am making an application which plays some music. I used the Media player class and got it working. I also added extra function via menu button pressed.
1st problem:
I start the music... I have another screen to which i jump with the help of an intent (when menu item pressed). The problem is when I jump back with an intent to mymedia player, i can start the music all over again, it doesn't return to the state in which it was when I jumped to another activity resulting in 2 music files simultaneously playing.
How can I return to the state I left the application when I pressed the menu button?
2nd problem:
I want my media player playing in the background when I press the back button, and when I start the application again, to be in the same state I left it when I pressed the back button.
Thanks for your help in advance!