Possible Duplicate:
How to display Video in the Android Emulator from Remote URL?
I want to show/watch a video using a VideoView in android, my emulator only plays the sound of the video but doesnt show the video itself. Can you please help. here is the source code
VideoView vv;
vv = (VideoView)findViewById(R.id.videoView);
vv.setVideoPath("/sdcard/documentariesandyou.mp4");
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(vv);
vv.setMediaController(mediaController);
vv.start();
}
}