title: Play list of mp3 file with MediaPlayer in Android
body: <p>I have a problem to reproduce more than one mp3 file using MediaPlayer in Android.
  I'm able to reproduce one single file but I did not find nothing useful to reproduce different files one after the other.</p>
  
  <p>The code that now I use to reproduce one file is:</p>
  
  <pre><code>public MediaPlayer mediaPlayer = null;
  
  public void playP(View view) {
  
      if (mediaPlayer == null) {
          mediaPlayer = MediaPlayer.create(MainActivity.this, R.raw.music);
      }
      mediaPlayer.start();
  
  }
  </code></pre>
  
  <p>How can I modify it to reproduce more a list of file?</p>
  
  <p>Thanks</p>