简体   繁体   English

如何使用phonegap同步设备日历以添加事件

[英]how to sync a device calendar for event addition using phonegap

I am developing a phone gap project with calendar. 我正在开发一个带日历的手机间隙项目。 so i need to add reminder and event( whatever the process could be done in Device calendar). 所以我需要添加提醒和事件(无论过程可以在设备日历中完成)。 I am looking for Sync up process of Device calendar for both iPhone and Android using phone gap. 我正在寻找iPhone和Android使用手机间隙的设备日历的同步过程。 As i am new to this field, please guide me with Some programming steps of with some examples. 由于我是这个领域的新手,请引导我一些编程步骤和一些例子。

Thanks in advance. 提前致谢。

You would need to use a JavaScript API to access the Calendar on the target device. 您需要使用JavaScript API来访问目标设备上的日历。

Although PhoneGap does not provide a standard Calendar API ( http://docs.phonegap.com/en/2.5.0/index.html ), there are community plug-ins that have been created 虽然PhoneGap不提供标准的Calendar API( http://docs.phonegap.com/en/2.5.0/index.html ),但是已经创建了社区插件

PhoneGap Calendar plug-in for Android: https://github.com/phonegap/phonegap-plugins/tree/master/Android/CalendarPlugin 适用于Android的PhoneGap日历插件: https//github.com/phonegap/phonegap-plugins/tree/master/Android/CalendarPlugin

PhoneGap Calendar plug-in for iOS: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/CalendarPlugin 适用于iOS的PhoneGap日历插件: https//github.com/phonegap/phonegap-plugins/tree/master/iOS/CalendarPlugin

这是一个通用的Android / iOS版本: https//github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM