Domanda

I have seen this code segment for opening a native activity that chooses one contact

Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI);  
startActivityForResult(contactPickerIntent, 1); 

What I'm interrested in is the activity used for messages On android, when you write a message and press "add recipient" u get an activity that chooses multiple contacts.

is there any hope to use that activity in my application?

È stato utile?

Soluzione

The multiple pick activity is not provided by Base Android so all OEMs provide their own implementation of the multiple pick activity, so i don't think you can find a general implementation common to all handsets.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top