1

Photo picker intent:

        Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
        photoPickerIntent.setType("image/*");
        startActivityForResult(photoPickerIntent, SELECT_PHOTO);

The text, shown below, currently says "Complete action using Photos". Is there a way to change this to something custom?

enter image description here

Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
  • 1
    "The text, shown below, currently says "Complete action using photos"" -- no, it has "Complete action using Photos", with a capital P. That's the name of an app. Had you most recently used "Meme Generator Free", it would have "Complete action using Meme Generator Free". – CommonsWare Jan 20 '17 at 13:13
  • Thanks. It's an important distinction. :) – Martin Erlic Jan 20 '17 at 13:14

1 Answers1

3

It's simple. The answer is No. Also in won't always be "with Photos", it will depend on most used(or recent) app for this kind of Action.

Lil update

You can use some other way of doing this.

Intent.createChooser(yourIntent, "Open via ..." /*your text goes here*/)

This will look differently, but will have your text

Use like this

 this.startActivity(Intent.createChooser(emailIntent, "Send mail via ..."));
Ekalips
  • 1,473
  • 11
  • 20
  • Sounds good! Yes that does seem to be related to the Google Photos app, what with the icon. I suppose the design solution would involve some kind of alert dialog indicating a profile picture change prior to launching this.... – Martin Erlic Jan 20 '17 at 13:11