3

I'm trying to get a list of all events from the onboard Android calendar and use it to populate a list view in my application. How do I do this on 2.2 and above. The link below describes how to do it on <= 2.1.

Android Calendar Events

The same method doesn't seem to work on 2.2 and above though even when I change the events uri.

Thanks for the help!

Community
  • 1
  • 1
Manish Burman
  • 3,069
  • 2
  • 30
  • 35
  • 1
    Burman: There is no documented and supported API for getting at events in the Calendar app. As you have noticed, these poor back-door mechanisms will change. They also may not be supported by all devices, since they do not have to honor these implementation-specific content providers. Please use the Google GData API for the Calendar if you want to work with a user's Google Calendar. – CommonsWare Feb 16 '11 at 00:39
  • @CommonWare - I've read in numerous places that one shouldn't use the gData API with Android, but rather use the google-java-api libraries instead. Can you confirm this? – dell116 Jun 09 '11 at 18:25

0 Answers0