I’d like the ability to add a contact to the user’s contacts with a contact name (easy enough), a phone number, but also a custom label for that phone number as supported in ICS. For example, I might like to add “John Doe” with the phone number “xxx-xxx-xxxx” as custom type “Blackberry”. Is this granularity possible?
Share
This can be done with an Intent as seen below. (Bonus: You don’t have to ask for read/write contacts permissions!) The specific fields you’re interested in are ContactsContract.Intents.Insert.PHONE_TYPE and ContactsContract.Intents.Insert.SECONDARY_PHONE_TYPE