You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2012/08/29 01:47:07 UTC

[jira] [Created] (CB-1291) Windows 8 Contacts - Find+Create APIs

Jesse MacFadyen created CB-1291:
-----------------------------------

             Summary: Windows 8 Contacts - Find+Create APIs
                 Key: CB-1291
                 URL: https://issues.apache.org/jira/browse/CB-1291
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows 8
            Reporter: Jesse MacFadyen
            Assignee: Jesse MacFadyen


It looks like we will need to approach Contacts on Windows 8 differently.
The goal of the Contacts API is not to have every app become a ContactProvider, which would result in chaos ... 

Windows 8 does not have built in contacts, they are managed internally by the People app.  The People app is a ContactProvider  so when you are performing an operation that requires a contact, you are given the opportunity to select one or more contacts from the People app, as well as every other app that publishes the ContactProvider contract.

Searching contacts cannot be achieved given Windows 8 APIs and interaction with the People app, but the primary use case of picking one or more contacts to interact with can work.

I think the best approach would be to return a contact object as defined by PhoneGap APIs, but allow the user to actually do the selection ( via the picker )

Here is a good write-up by a Microsoft evangelist about how contacts work on Windows 8.
http://blogs.msdn.com/b/glengordon/archive/2012/08/28/windows-8-apps-for-the-phonegap-developer-contacts.aspx

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira