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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top