can anyone explain this code of media controller?
<p>can anyone explain this code of media controller?</p>

<pre><code>   videoview = (VideoView) findViewById(R.id.player);
   videoview.setVideoURI(Uri.parse("android.resource://"+ getPackageName()+ "/" +R.raw.sample));
   videoview.start();

  MediaController controller = new MediaController(this);
  controller.setMediaPlayer(videoview);
  videoview.setMediaController(controller);
</code></pre>
