Skip to content

Instantly share code, notes, and snippets.

@osama-raddad
Created March 17, 2016 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osama-raddad/53f6da7d630a42e60f51 to your computer and use it in GitHub Desktop.
Save osama-raddad/53f6da7d630a42e60f51 to your computer and use it in GitHub Desktop.
gallary View
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