I've tried to get contact info in Windows Phone 8.1 SL app by following Quickstart: Selecting user contacts
In my function,
private async void PickAContactButton_Click(object sender, RoutedEventArgs e)
{
var contactPicker = new Windows.ApplicationModel.Contacts.ContactPicker();
contactPicker.desiredFieldsWithContactFieldType.add(Windows.ApplicationModel.Contacts.ContactFieldType.email);
Contact contact = await contactPicker.PickContactAsync(); // this throws System.NotImplementedException
// Additional information: The method or operation is not implemented.
if (contact != null)
{ ... }
}
Exact same function works in Windows Phone 8.1 RT. ContactPicker
class is supported in both WP 8.1 RT and WP 8.1 SL according to this reference.
Any idea what is going on ?