Это работа для меня
private static final int RC_PHOTO_PICKER = 2;
Intent galleryIntent = new Intent(
Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(Intent.createChooser(galleryIntent, "Complete action using"), RC_PHOTO_PICKER);
Вам необходимо переопределить метод onActivityResult
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if(requestCode==RC_PHOTO_PICKER && resultCode==RESULT_OK)
{
//do operation after picking image
}
}