How to play video after onClick on "Show Video" button?
<p>Can someone tell me what is the specific code i should add into my current codes to play the video?</p>

<pre><code>public class ViewVideo extends Activity {
      private String filename;
      @Override
      public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            Bundle extras = getIntent().getExtras();
            filename = extras.getString("videoPath");

            VideoView viewVideo = new VideoView(this);
            setContentView(viewVideo);
            viewVideo.setVideoPath(filename);
            viewVideo.setMediaController(new MediaController(this));
            viewVideo.requestFocus();
            viewVideo.start();

      }
}
</code></pre>
