How to add data to Google calendar programmatically in android?

前端 未结 4 1111
借酒劲吻你
借酒劲吻你 2020-12-09 13:29

Hi I need to add particulars to Google calendar from my application. Is it possible to add data to Google calendar? I am new to android Help me to solve this.

相关标签:
4条回答
  • 2020-12-09 14:09

    till now gdata not available for android.

    http://code.google.com/p/android-gdata/

    You can add event and calendar in the widget. But it removes the added calendar when sync with the Google account.

    Till now no proper solution is available.

    0 讨论(0)
  • 2020-12-09 14:18

    I realize that this is an old thread, but for people that stumble upon it now, please note that Google Data Java Client Library (or gdata-java-client) is no longer being actively developed.

    You should use the Google API Client Library for Java that has full support for Android.

    It has Google Calendar Sample applications for Android. (One using ClientLogin using the Android accountmanager, and one using the more secure OAuth for authentication/authorization.

    (Google doesn't recommend using ClientLogin as it's considered insecure)

    0 讨论(0)
  • 2020-12-09 14:26

    if you want another aproach you can check this http://www.developer.com/ws/article.php/3850276/Working-with-the-Android-Calendar.htm keep in mind you need to have a real android device to debug .Emulator doesn't come with calendar so the URI cannot be served

    0 讨论(0)
  • 2020-12-09 14:31

    using these apis (GData) you can access all Google services, including Calendar: http://code.google.com/p/gdata-java-client/wiki/Version2

    0 讨论(0)
提交回复
热议问题