get Photo Pick Intent - Android android.hardware

Android examples for android.hardware:Photo

Description

get Photo Pick Intent

Demo Code

import android.content.Intent;

public class Main {

  public static Intent getPhotoPickIntent() {
    Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);
    intent.setType("image/*");
    return intent;
  }//from  www  .j  a  va 2s.  c o  m

}

Related Tutorials