I am currently trying to develop an application for Windows Phone 7.1 and above, and the main goal of the latter would be to edit Contact details, specifically the Phone Numbers. Is it even possible? I found out that it is impossible to edit or delete a contact from code, because these tasks are (by design) only available to the phone user. If this is true, is there an alternative way to do that? Will editing those contact details work if I develop it on PhoneGap?
问问题
481 次
1 回答
0
无法从代码中编辑或删除联系人。如果可能的话,执行一些恶意操作就太容易了,手机设计的指导原则之一是用户数据应该是安全的。
在 WP7 上,可以提示用户创建新联系人(预先填充详细信息)。
在 WP8 上,您还可以使用自定义联系人存储,如果您的应用完全可以控制该存储,但不允许您更改用户直接添加到手机中的联系人的任何详细信息。在MSDN上阅读更多信息。
于 2013-07-18T13:54:45.563 回答