You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/03/19 00:44:43 UTC

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

     [ https://issues.apache.org/jira/browse/CB-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-1291.
---------------------------------

    Resolution: Fixed

Resolved where possible.
The Windows 8 version of the contacts.find API spawn a system dialog where the user must pick one or more contacts.  The contacts are returned to the cordova app with the same properties as the other platforms, where available.  Docs are updated to include #quirks.

> 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: Plugin Contacts, 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 was sent by Atlassian JIRA
(v6.2#6252)