Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

choose image java

private void chooseImage() {
    Intent intent = new Intent();
    intent.setType("image/*");
    intent.setAction(Intent.ACTION_GET_CONTENT);
    startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE_REQUEST);
  }
Source by code.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #choose #image #java
ADD COMMENT
Topic
Name
1+9 =