title: android: Play different sounds on each click
body: <p>I have a button and on each click I want a different sound to play. I need some help getting the second sound to work. Here's my code so far:</p>
  
  <pre><code>package com.andrew.finnandjake;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.view.View;
  import android.view.View.OnClickListener;
  import android.widget.Button;
  
  public class Main extends Activity {
  private SoundManager mSoundManager;
  
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      mSoundManager = new SoundManager();
      mSoundManager.initSounds(getBaseContext());
      mSoundManager.addSound(1, R.raw.finn_whatthejugisthat);
      mSoundManager.addSound(2, R.raw.finn_wordtoyourmother);
  
  
      Button SoundButton = (Button)findViewById(R.id.Button1);
      SoundButton.setOnClickListener(new OnClickListener() {
  
          public void onClick(View v) {
              mSoundManager.playSound(1);
              mSoundManager.playSound(2);
  
  
          }
      });
  }
  }
  </code></pre>