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

查看:26
本文介绍了如何从 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>

我愿意专门使用 Google Calendar Web API,但还没有找到任何可行的解决方案.

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

这是一个论坛帖子,有人正在寻找适用于 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

推荐答案

当 WebView 嵌入到 Android 应用程序中时,可以设置自定义 URI 处理程序作为嵌入窗口调用 Android 操作系统操作的一种方式,例如一个新的日历事件,通过自定义 URI.

When the WebView is embedded in an android app, a custom URI handler can be set up as a way for the embedded window to invoke Android OS actions, such as a new Calendar Event, through the custom URI.

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

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