编辑/删除WP8中的现有约会 [英] Edit/Delete existing appointment in WP8

查看:89
本文介绍了编辑/删除WP8中的现有约会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是"周视图"的开发者。我正在移植我的应用程序以支持WP8的一些新功能。 "周视图"使用Windows Live SDK创建/编辑/删除约会。这适用于Windows Live日历,但不适用于兑换
日历。 


是否有人知道如何通过提供的WP API编辑/删除WP8中的约会?


最后还有一个"SaveAppointmentTask"。在WP8中,可用于创建新约会。我已经尝试过这个=>很酷,最后我可以通过调用此任务在非Windows实时日历中创建约会。


但是:b
没有任务可以编辑现有约会或删除现有约会约会?

嘿MS - 这可能是真的还是我忽略了什么?对我(作为开发人员),这看起来像提供一种创建文件的方法,但不是用于重命名或删除文件。


问候,

Hannes

解决方案

正确... 您可以使用SaveAppointmentTask创建约会,但您的应用程序无法删除约会。


SaveAppointmentTask传递提供给本机日历应用程序的信息,允许用户将约会保存到他们的日历中。选择 您的应用程序无法直接访问日历数据库。


 这是一种权衡,允许应用程序访问,同时保护用户关键数据免遭意外删除。 


参见:
Windows Phone联系人和日历
对Windows Phone的联系人和日历的只读访问权限



hi,

i am the developer of "Week View" and am currently porting my app to support some of the new features of WP8. "Week View" uses the Windows Live SDK to create/edit/delete appointments. This works great for windows live calendars but does not work for exchange calendars. 

Does anybody know how to edit/delete appointments in WP8 via the provided WP API?

Finally there is a "SaveAppointmentTask" in WP8 that can be used to create new appointments. I already tried this => cool, finally i can create appointments in non windows-live calendars by calling this Task.

BUT:
There is no task for editing existing appointments or deleting existing appointments?
Hey MS - can this be true or did i overlook something? To me (as a developer) this looks like providing a method for creating a file but not for renaming or removing a file.

regards,
Hannes

解决方案

Correct...  You can create appointments by using the SaveAppointmentTask but your application cannot delete appointments.

The SaveAppointmentTask passes the information provided to the native calendar application which allows the user to save the appointment to the calendar of their choice.  You're application does not have direct access to the calendar database.

  It's a trade-off that allows apps some access while protecting the users critical data from accidental deletion. 

see: Contacts and Calendar for Windows Phone and Read-only access to Contacts and Calendar for Windows Phone


这篇关于编辑/删除WP8中的现有约会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆