incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-223) Add support for iOS contact groups
Date Mon, 06 Feb 2012 20:01:59 GMT

    [ https://issues.apache.org/jira/browse/CB-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201520#comment-13201520
] 

Shazron Abdullah commented on CB-223:
-------------------------------------

Contact categories are analogous to contact groups according to the W3C API:
http://www.w3.org/TR/contacts-api/#contacts-interface

"Multiple contact groups can be represented within this unified address book by specifying
consistent categories values as part of individual Contact objects. Multiple contact groups
can be displayed by filtering on the required categories values via the Contacts find() operation."
                
> Add support for iOS contact groups
> ----------------------------------
>
>                 Key: CB-223
>                 URL: https://issues.apache.org/jira/browse/CB-223
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: iOS
>    Affects Versions: 1.4.0
>         Environment: iOS
>            Reporter: Robert La Ferla
>            Assignee: Shazron Abdullah
>              Labels: addressbook, categories, contacts, groups, ios
>
> Contacts on iOS are organized by group.  There is the default group "All Contacts" plus
any custom groups that the user set up.  Contacts retrieved by Apache Cordova / phonegap do
not contain which group they are in. 
> CONTACT CATEGORIES PROPERTY
> I believe that iOS groups are analogous to phonegap contact categories and thus should
be mapped to them.  If not, another property should be created.
> From the Cordova docs:
> "categories: An array of all the contacts user defined categories. (ContactField[])"
> IOS IMPLEMENTATION NOTES:
> In the iOS AddressBook API, the function ABAddressBookCopyArrayOfAllGroups() gets the
list of groups.
> https://developer.apple.com/library/ios/#documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Chapters/DirectInteraction.html#//apple_ref/doc/uid/TP40007744-CH6-SW1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message