Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1291

Windows 8 Contacts - Find+Create APIs

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            purplecabbage Jesse MacFadyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: