Retrieve contact from People app in windows phone 8.1 RRS feed

  • Question

  • Hi, everybody. I'm trying to create a list of selected contacts in my universal app but I'm facing some problems. Although the logic I implemented using the contact picker in the windows app, things are not going so great in the mobile app. My first question is how can I retrieve a full contact in similar way like the windows app. In windows app using

    contactPicker.SelectionMode = ContactSelectionMode.Contacts;

    I get the details I want but in phone app SelectionMode is not supported and I have to use


    but that way I get only the emails, which by the way I have to select individually for every contact that has more than one email, if I try to add a second DesiredFieldsWithContactFieldType,

                contactPicker.DesiredFieldsWithCont actFieldType.Add(ContactFieldType.PhoneNumber);
    I get an exemption. Is that normal or am I doing something wrong? Thanks in advance.

    Monday, April 20, 2015 11:37 AM

All replies

  • Hello,

    You should not get an error adding multiple field types to the picker. What is the underlying COM exception that you are seeing? It should be in the form 0x80000000 or 0xC0000000.


    Windows SDK Technologies - Microsoft Developer Services -

    Tuesday, April 21, 2015 12:58 AM
  • The exception I get is Additional information: The request is not supported. (Exception from HRESULT: 0x80070032).

    I even tried it with the contactpicker sample and I get the same exeption whe I add a second DesiredFieldsWithContactFieldType.

    Tuesday, April 21, 2015 5:47 PM
  • Hello,

    I didn't get a chance to take a look at this today but I will take a look tomorrow.


    Windows SDK Technologies - Microsoft Developer Services -

    Wednesday, April 22, 2015 11:40 PM
  • Hello,

    I can confirm your findings. On the phone you cannot add more than a single contact field type without getting an error when calling PickContactAsync. This is not the expected behavior as this does not occur on Windows 8.1 Store apps. I spent some time digging though the Runtime source but was not able to find any obvious checks for multiple contact filed type items. If you absolutely need to understand why this behavior is occurring please feel free to initiate an engagement with my team. We can research this error further. You can initiate the process by going to:



    Windows SDK Technologies - Microsoft Developer Services -

    Friday, April 24, 2015 10:58 PM
  • Hello! Have you reached to a possible solution or a workaround on this issue ?
    Friday, June 12, 2015 9:43 AM