如何添加从HTML5移动网页在Android日历条目? [英] How to add an entry in the Android Calendar from an html5 mobile web page?

查看:539
本文介绍了如何添加从HTML5移动网页在Android日历条目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找关于如何创建一个超链接到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.

<一个href="http://www.google.com/support/forum/p/Calendar/thread?tid=6fc0598cd1619e19&hl=en">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

这篇关于如何添加从HTML5移动网页在Android日历条目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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