问题
I have installed the sample Calendar project from here.
When I run this app on the emulator, I see three feeds:
- Contact's Birthdays and events
- US Holidays, and
- 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