具有 Sense UI 的 Android 手机上的日历 ContentProvider URL
我有一个应用程序可以将事件添加到设备上的日历中。我有以下日历 ContentProvider URL:
Pre Froyo: content://calendar/calendars
Froyo: content://com.android.calendar/calendars
这些 URL 对于 Nexus One 工作正常,但不会在 HTC Desire/Incredible/Hero 上返回任何日历。可能所有带有 Sense UI 的手机。这发生在 2.1 和 2.2 上。
有人以前遇到过这个问题并有解决方法吗?
I have an application that adds an event to the calendar on the device. I have the following URLs for the Calendar ContentProvider:
Pre Froyo: content://calendar/calendars
Froyo: content://com.android.calendar/calendars
These urls work fine for Nexus One but do not return any calendars on HTC Desire/Incredible/Hero. Probably all phones with a Sense UI. This happens on 2.1 and 2.2.
Has anybody run into this problem before and has any workarounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用此代码获取您平台的 URI
use this code to get the URI for your platform