title: play multiple audio files in android
body: <p>i can play a audio file frm raw folder by this way below. bt how to play multiple audio files in a directory or as in a playlist.Thankyou</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.player);
  
  int resourceId = R.raw.a;
      MediaPlayer mediaPlayer = MediaPlayer.create( this, resourceId );
      mediaPlayer.setOnCompletionListener( new OnCompletionListener()
      {
          @Override
          public void onCompletion( MediaPlayer mp )
          {
              mp.release();
          }
      } );
      mediaPlayer.start();
  
  }
  </code></pre>