Im implementing a video playback in android im completely new to android, and this is the bit of code i have gathered so far.
according to the logic it should play a
VideoView vv = (VideoView) findViewById(R.id.videoView1); uri = "your video uri"; vv.setVideoURI(Uri.parse(uri)); vv.start(); vv.setOnCompletionListener(new OnCompletionListener() { @Override public void onCompletion(MediaPlayer mp) { finish(); } });