Created
March 17, 2016 20:23
-
-
Save osama-raddad/320655a2f4de14ee79f7 to your computer and use it in GitHub Desktop.
VideoView Form SD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VideoView videoView =(VideoView) findViewById(R.id.videoViewId); | |
Uri uri = Uri.parse(Environment.getExternalStorageDirectory().getAbsolutePath()+"/yourvideo"); | |
videoView.setVideoURI(uri); | |
videoView.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment