Question

Android's messaging app, located in projects/platform/packages/apps/Mms.git has a class called RecipientsEditor. I would like to be able to create MultiAutoCompleteTextView that will filter contacts the same way, to make contact selection easy in my app. using the mms app is cumbersome since it uses internal apis and has everything split across classes.

Has anyone made an easy way to do this?

Was it helpful?

Solution

It's a bad idea for public applications but you can use code and resources from other applications if you have the right class loader. I wrote about it, using createPackageContext and some reflection.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top