Android Audio Question
<p>I have several audio files in the res/raw folder.
When I run the following code I was assuming that just the "sound1" file would be played, instead all of the files in the folder get played one after another, not just "sound1".</p>

<pre><code>  MediaPlayer mp = MediaPlayer.create(this, R.raw.sound1);
  try {
    mp.start();
  } catch (IllegalArgumentException e) {
    e.printStackTrace();
  } catch (IllegalStateException e) {
    e.printStackTrace();
  }
</code></pre>

<p>What am I missing?
Thanks for any help!</p>
