在UWP中导航到创建联系人视图

时间:2022-03-31 07:30:08

Is there a possibility to navigate from my Windows 10 UWP App to the Create-Contact-View of the people Hub?
So that the user can insert name, phone number, email (etc) and then save the contact.
In WP8 / Silverlight, there was the SaveContactTask class to achieve this. There should also be the possibility to predefine some fields.

是否有可能从我的Windows 10 UWP应用程序导航到人员中心的创建 - 联系人视图?这样用户就可以插入姓名,电话号码,电子邮件(等),然后保存联系人。在WP8 / Silverlight中,有SaveContactTask类来实现这一点。还应该有可能预定义一些字段。

What I tried, was to use the Launcher, but there's no option to access the CreateContact-View.
I tried also to use the equivalent class of the SaveContactTask, which is the StoredContact class, but had no success.

我试过的是使用Launcher,但是没有选项可以访问CreateContact-View。我还尝试使用SaveContactTask的等效类,它是StoredContact类,但没有成功。

I don't want to create the contact programmatically if there's another possibility.

如果还有其他可能性,我不想以编程方式创建联系人。

1 个解决方案

#1


-1  

To get an overview of what is possible today with contacts, take a look at the ContactManager class the definitions is on MSDN here https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.aspx

要了解今天联系人的可能性,请查看ContactManager类,定义在MSDN上,https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts .contactmanager.aspx

For a full Microsoft example just take a look here https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ContactCards

有关完整的Microsoft示例,请查看此处https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ContactCards

#1


-1  

To get an overview of what is possible today with contacts, take a look at the ContactManager class the definitions is on MSDN here https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.aspx

要了解今天联系人的可能性,请查看ContactManager类,定义在MSDN上,https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts .contactmanager.aspx

For a full Microsoft example just take a look here https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ContactCards

有关完整的Microsoft示例,请查看此处https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ContactCards