Created
March 17, 2016 20:25
-
-
Save osama-raddad/53f6da7d630a42e60f51 to your computer and use it in GitHub Desktop.
gallary View
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
String videourl = "http://something.com/blah.mp4"; | |
Uri uri = Uri.parse(videourl); | |
Intent intent = new Intent(Intent.ACTION_VIEW, uri); | |
intent.setDataAndType(uri, "video/mp4"); | |
startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment