MediaPlayer sound gets interrupted by animation

view story

http://stackoverflow.com – I want to play a sound while animating a view. I'm playing the sound with MediaPlayer, and the sound gets interrupted when I play the animation (when I say interrupted, I mean stops as soon as the animation starts). This happens for both property animations (done using nineoldandroids lib) and also for sequence animation (frame by frame). The sound code: MediaPlayer mp = MediaPlayer.create(context , rawSoundFileId); if (mp == null) { return; } mp.setOnCompletionListener(new OnCompletionListener() { @Override (HowTos)