tags:

views:

26

answers:

1

I have doubt regarding Google calendar API.I had created calendar using google calendar developer guide.I want to retrieve the calendar Id through program.How is it possible?

+1  A: 

The final line in the developer guide is:

CalendarEntry returnedCalendar = myService.insert(postUrl, calendar);

Look at the ID of returnedCalendar:

String id = returnedCalender.getId();
Jon Skeet
Thanks it work correctly it gave outputlike thishttp://www.google.com/calendar/feeds/default/calendars/montfortperungudi.edu.in_tkpd38ud4ovaksh2mt812kui10%40group.calendar.google.comI want this only montfortperungudi.edu.in_tkpd38ud4ovaksh2mt812kui10@group.calendar.google.comHow to get like this
@megala: Find the index of the last slash, and take a substring from there?
Jon Skeet
Thanks i got answer