I'm writing a simple app where activity A has a song playing. When a button is pressed, the media player pauses and activity B opens. When the user goes back to activity A, the mediaplayer is supposed to resume (from where it left off). My question is, what happens when you press the back button on activity B? I know activity B will be killed but is onResume from activity A loaded? Where do I give instruction to resume?