title: Android Media Player - start called in state 1
body: <pre><code>player.reset();
  player.setDataSource(url);
  // mPlayer.setDataSource(mFileName);
  player.prepareAsync();
  player.setOnPreparedListener(
       new OnPreparedListener() {
           @Override
           public void onPrepared(MediaPlayer mp) {
               player.start();
           }
       }
  );
  </code></pre>
  
  <p>This is my mediaplayer bit code. I'm doing the exact thing I should be doing in order to have the state of the media player correctly yet I'm still having the error <code>start called in state 1</code> can anyone help? Thanks a lot!     </p>