I would like it to open in Image Gallery, not Image
contactImgView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(Intent.ACTION_VIEW, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); //coloquei assim, esta certo ?
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
startActivityForResult(Intent.createChooser(intent, "Select Contact Image"), 1);
}
});
When I open the bluestack emulator, instead of the Intent
open in the gallery, it opens in Image and hence I need to select the gallery, but I just wanted it to open directly in Galeria, how?