문제

I'm a writing a program to add a new way of communication such as MMS/SMS or SIP phone to Android.

Is there a way to add an icon in the QuickContactBadge menu, when clicking on a contact photo in the Contacts application ?

I wasn't able to fully understand how it works from android sources ... Is the list of icons only populated from mime types found in contacts datas ?

Thanks,

Laurent

도움이 되었습니까?

해결책

Yes, it is based on mime type in the contact.

The QuickContact list is built from the MIME-types associated with the contacts Data records, so as far as I know there’s no way for your app to appear in the QC list without having added a record to the data table using a sync provider....

-Sam Steele

from the comments here.

다른 팁

There is an open source project that let's you implement your own QuickActionBar, take a look: http://code.google.com/p/devoquickaction/

It's look very much like the native one. Just in case working with or adding mime types is not what you have in mind and you'd want to add your entirely individual icon/action set to a contact.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top