Code example for MediaController

0
 
					String videoPath = cursor.getString(cursor
							.getColumnIndex("_data"));
					videoView.setVideoURI(Uri.parse(videoPath));
					// ������Ƶ������ 
					videoView.setMediaController(new MediaController(this));
					// ��ʼ������Ƶ 
					videoView.start();
 
				} 
 
			} 
 
		} 
		super.onActivityResult(requestCode, resultCode, data);
	} 
 
	@Override 
	public void onClick(View view)
	{ 
		Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);