问题描述
我已经安装了从样本日历项目<一个href=\"http://samples.google-api-java-client.google$c$c.com/hg/calendar-android-sample/instructions.html\"相对=nofollow>此处。
I have installed the sample Calendar project from here.
当我运行在模拟器上这个程序,我看到三个提要:
When I run this app on the emulator, I see three feeds:
- 联系人的生日和活动
- 美国假期,和
- 我的Gmail帐户
我登录到我的账户增加了一些假的事件我的日历。但我不能够看到应用程序这些事件。
I added some dummy events to my calendar by logging into my account. But I am not able to see these events from the app.
有什么建议?
推荐答案
示例项目不(我相信)包括样品code得到的事件。
The sample project does not (I believe) include sample code to get events.
您将不得不加强与一些自己code的样本项目。
You will have to enhance the sample project with some of your own code.
在写你的code,可我建议你看看片段在以下页面的底部:
When writing your code, can I suggest you look at the snippet at the bottom of the following page:
我使用的,它是工作对我非常好。
I used that and it is working very well for me.
好运气
这篇关于谷歌日历示例应用程序没有显示事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!