title: Issues with Android's Mediaplayer lib
body: <p>I have some pretty standard code to run an MP3, but it takes like 2 seconds to play it.  This app is very simple.  This app should play a 1-2 second sound.  Also, is there a way to buffer the mp3 at app's load into the RAM or something so it can play very quickly(w/o delay)?  Please help!</p>
  
  <pre class="lang-java prettyprint-override"><code>import android.content.Context;
  import android.media.MediaPlayer;
  import android.support.v7.app.ActionBarActivity;
  import android.os.Bundle;
  import android.util.Log;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  
  
  public class MainActivity1 extends ActionBarActivity {
  
      MediaPlayer mediaPlayer;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main_activity1);
      }
  
  
      public void playSound(View v)throws Exception{
          mediaPlayer = MediaPlayer.create(this, R.raw.john_cena);
          mediaPlayer.setLooping(false);
          mediaPlayer.start();
          Thread.sleep(1500);
          //mediaPlayer.stop();
          mediaPlayer.reset();
          mediaPlayer.release();
          Log.d("1234FIND", "STOP RELEASE RESET");
  
      }
  }
  </code></pre>