title: Android VideoView throws error and warnings
body: <p>I'm working with a videoview and I play dynamically videos which are stored locally.</p>
  <p>Here's my setup:</p>
  <pre><code>videoView.setMediaController(null);
  videoView.setOnCompletionListener(myVideoViewCompletionListener);
  videoView.setOnErrorListener(videoOnErrorListener);
  </code></pre>
  <p>And here are the functions:</p>
  <pre><code>private OnErrorListener videoOnErrorListener = new OnErrorListener() {
      @Override
      public boolean onError(MediaPlayer mp, int what, int extra) {
          Log.i(PlayActivity.class.getSimpleName(), &quot;Not played&quot;);
          do_stuff();
          return true;
      }
  };
  
  MediaPlayer.OnCompletionListener myVideoViewCompletionListener = new MediaPlayer.OnCompletionListener() {
      @Override
      public void onCompletion(MediaPlayer mp) {
          mp.reset();
          do_stuff();
      }
  };
  </code></pre>
  <p>I also tried to do <code>mp.release()</code> but then I get an <code>IllegalStateException</code> when I want to do something with my <code>videoview</code>.</p>
  <p><strong>I get these errors/warnings. Any idea what they do or if they can be a problem?</strong></p>
  <blockquote>
  <p>E/Mediaplayer: error (1, -2147483648)</p>
  <p>W/Mediaplayer: mediaplayer went away with unhandled events</p>
  <p>W/Mediaplayer: this is IMEDIA_PLAYER_VIDEO_EXIST</p>
  <p>W/Mediaplayer: this is IMEDIA_PLAYER_VIDEO_EXIST</p>
  <p>W/Mediaplayer: info/warning (3, 0)</p>
  </blockquote>
  <p>The odd thing is: The last 3 line occur every time the videoview plays a video (it's somehow a loop). The first one I get only from the second time on.</p>
  <p>Thanks!</p>