How to programmatically add data to a Google calendar in Android?

Hey. I need to add data from the Google calendar from my application. Can I add data to a Google calendar? I'm new to android Help me solve this problem.

+6
android
source share
4 answers

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

+4
source share

I understand that this is an old thread, but for the people who stumbled upon it now, please note that the Google Data Java Client Library (or gdata-java-client) is no longer actively developing.

You must use the Google APIs Client Library for Java, which fully supports Android.

It has Google Calendar Application Examples for Android. (One uses ClientLogin using the Android account manager, and the other uses more secure OAuth for authentication / authorization.

(Google does not recommend using ClientLogin as it is considered unsafe)

+18
source share

if you want another aproach you can check this out http://www.developer.com/ws/article.php/3850276/Working-with-the-Android-Calendar.htm keep in mind that you need to have a real Android device for debugging. The emulator does not come with a calendar, so URIs cannot be serviced

+1
source share

gdata is still not available for android.

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

You can add the event and calendar to the widget. But when synchronizing with a Google account, it deletes the added calendar.

To date, a suitable solution is not available.

+1
source share

All Articles