protected void processPlayRequest(){
  tryToGetAudioFocus();
  if (mState == State.STOPPED) {
    playMedia();
  }
 else   if (mState == State.PAUSED) {
    mState=State.PLAYING;
    setUpAsForeground(String.format(getString(R.string.media_state_playing),mFile.getFileName()));
    configAndStartMediaPlayer();
  }
}

protected void processPlayRequest ( ) { tryToGetAudioFocus ( ) ; if ( mState == State . STOPPED ) { playMedia ( ) ; } else if ( mState == State . PAUSED ) { mState = State . PLAYING ; setUpAsForeground ( String . format ( getString ( R . string . media_state_playing ) , mFile . getFileName ( ) ) ) ; configAndStartMediaPlayer ( ) ; } }
processes a request to play a media file .
