Google Calendar Sample app not showing events

旧街凉风 提交于 2019-12-12 03:15:55

问题


I have installed the sample Calendar project from here.

When I run this app on the emulator, I see three feeds:

  1. Contact's Birthdays and events
  2. US Holidays, and
  3. my gmail account

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.

Any suggestions?


回答1:


The sample project does not (I believe) include sample code to get events.

You will have to enhance the sample project with some of your own code.

When writing your code, can I suggest you look at the snippet at the bottom of the following page:

Google Calendar API V3 Events List

I used that and it is working very well for me.

Good luck



来源:https://stackoverflow.com/questions/10075482/google-calendar-sample-app-not-showing-events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!