I want to play a video file on the Android emulator which I have deposited in the SD card. This is my code .. But when I run on the emulator it shows a blank screen. help please. I've added the necessary permissions for internet and external storage. please check OR Change with Public class enhances AndroidVideoViewActivity activity {see private video videoView = null; Private string path = "mnt / sdcard / bmxskills.3gp"; Private Media Player Media Player = Faucet; Private Media Controller Media Controller = Faucet; Override public null on @reate (bundle saved instainstate) {super.naught (savedinstenstate); SetContentView (R.layout.main); Find Video Video Video = (Watch Video) Find VVBIID (R.DDVideoView); VideoView.setVideoPath ("mnt / sdcard / bmxskills.3gp"); VideoView.setMediaController (mediaController); VideoView.requestFocus (); VideoView.start (); }}
videoView.setVideoPath ("Mnt / sdcard / bmxskills.3gp");
videoView.setVideoPath ("/ sdcard / bmxskills.3gp");
Comments
Post a Comment