开发者

How to add data to Google calendar programmatically in android?

Hi I need to add particulars t开发者_StackOverflow中文版o Google calendar from my application. Is it possible to add data to Google calendar? I am new to android Help me to solve this.


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)


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


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


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜