如何添加从HTML5移动网页在Android日历条目?条目、日历、网页、Android

2023-09-06 04:06:52 作者:想太多,对心脏不好

我要寻找关于如何创建一个超链接到Android日历应用程序的添加事件画面的例子或文档。

I am looking for an example or documentation on how to create a hyperlink to the Android Calendar app's Add Event screen.

例如,在那一个可以创建一个呼叫超链接相同的方式:

For example, in the same way that one can create a call hyperlink with:

<a href="tel:5556665555">Call</a>

我要寻找的信息是否有可能链接到了Android日历的添加事件屏,具有类似:

I am looking for info on whether it is possible to link to the Android Calendar's Add Event screen, with something like:

<a href="calendar:YYYY-MM-DDThh:mmTZD?end=YYYY-MM-DDThh:mmTZD&name=Appointment>Add Calendar Entry</a>

我愿意专门使用的谷歌日历的Web API,但没有找到任何有效的解决方案。

I am willing to use the Google Calendar Web API specifically, but haven't found any working solution.

下面是一个论坛的帖子与某人寻找一个基于Web的呼叫在Android的作品。

Here's a forum post with someone looking for a web-based call that works on Android.

http://www.google.com/support/forum/p/Calendar/thread?tid=6fc0598cd1619e19&hl=en

推荐答案

我觉得最简单的方法是产生一个服务器端的vCal或iCal的文件下载。

I think the easiest way would be generate a server side vCal or iCal file download.

例如,Plone的CMS这样做在这里:

For example, Plone CMS does so here:

http://plone.org/events/community/plone-conference-2011

请参阅的vCal链接。

See vCal link.

更多信息:

https://en.wikipedia.org/wiki/VCal