Skip to content

Instantly share code, notes, and snippets.

@sprejjs
Last active July 26, 2017 11:52
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 sprejjs/c264f8a33ed42fab1a8cfa89fc5ffbd6 to your computer and use it in GitHub Desktop.
Save sprejjs/c264f8a33ed42fab1a8cfa89fc5ffbd6 to your computer and use it in GitHub Desktop.
step2.java
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Select Picture"), GALLERY_REQUEST_CODE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment