我如何添加一个新的手机日历到Android? [英] How can I add a new phone calendar to Android?

查看:186
本文介绍了我如何添加一个新的手机日历到Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android上的日历应用程序可以合并多个单独的日历:本地手机日历,谷歌日历等

The calendar app on Android can merge multiple separate calendars: local phone calendar, Google calendars, etc.

我如何添加一个新的这种日历的Andr​​oid手机?我想动态生成的日历中的活动,而无需访问像谷歌的任何在线资源。

How can I add a new such calendar to the Android phone? I want to dynamically generate the events in that calendar without accessing any online resource like Google.

编辑:我想支持手机采用Android 1.5和2.3.4。我可能会得到更新,以4.0的新手机,但有一天谁知道什么时候,这将是...

I'd like to support phones with Android 1.5 and 2.3.4. I'll probably get an update to 4.0 for the newer phone someday but who knows when that will be...

推荐答案

我发现此链接 4.0之前,讨论访问手机上的日历内容提供商。

I've found this link that discusses accessing the Calendar content provider on phones before 4.0.

基本上,你只需要知道的URI字符串的提供者:

Basically you just have to know the URI strings for the provider:

  • 内容://日历为Android< 2.2
  • 内容://com.android.calendar 为Android 2.2 +
  • content://calendar for Android < 2.2
  • content://com.android.calendar for Android 2.2+.

这篇关于我如何添加一个新的手机日历到Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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