Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6659159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:59:57+00:00 2026-05-26T01:59:57+00:00

I am retrieving google calendar events using gdata library in objective c for an

  • 0

I am retrieving google calendar events using gdata library in objective c for an iphone application, I am doing it like this,

- (void)eventsTicket:(GDataServiceTicket *)ticket finishedWithEntries:(GDataFeedCalendarEvent *)feed error:(NSError *)error
{
  if( !error ){
    NSMutableDictionary *dictionary;
    for( int section=0; section<[data count]; section++ ){
      NSMutableDictionary *nextDictionary = [data objectAtIndex:section];
      GDataServiceTicket *nextTicket = [nextDictionary objectForKey:KEY_TICKET];
      if( nextTicket==ticket ){     // We've found the calendar these events are meant for...
        dictionary = nextDictionary;
        break;
      }
    }

    if( !dictionary )
      return;       // This should never happen.  It means we couldn't find the ticket it relates to.

    int count = [[feed entries] count];  // count for the number of events for the callendar
//099999999999999999999999999999999966666666666666669999999999999999999999999666666666666666699999999999999999999999999999999999999999999999999999999999
    daily_trackAppDelegate *controller =(daily_trackAppDelegate *) [[UIApplication sharedApplication] delegate];


      NSMutableArray *events = [dictionary objectForKey:KEY_EVENTS];
      for( int i=0; i<count; i++ ){
      [events addObject:[[feed entries] objectAtIndex:i]];  //loads the array with events
      }


      for( int i=0; i<count; i++ ){
          NSMutableArray *temporary=[[NSMutableArray alloc]init];

          [temporary removeAllObjects];

          GDataEntryCalendarEvent *event = [events objectAtIndex:i];

        //  [controller.googlearray addObject:event];

          GDataWhen *when = [[event objectsForExtensionClass:[GDataWhen class]] objectAtIndex:0];


          if( when ){
              NSDate *date1 = [[when startTime] date];
              NSDate *date = [date1 dateByAddingTimeInterval:18000.0];
              NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];

              [dateFormatter setDateFormat:@"yy-MM-dd-HH-mm"];
              [temporary addObject:date];///1   date

              NSDate *date11=[[when endTime] date];
              NSDate *date2 = [date11 dateByAddingTimeInterval:18000.0];
             // [controller.array_objject.google_events insertObject:date atIndex:i];///2   date
              [temporary addObject:date2];///1   date

              [dateFormatter release];
          }
          //[controller.array_objject.google_events insertObject:[[event title] stringValue] atIndex:i];  /////3   title
          [temporary addObject:[[event title] stringValue]];///1   date
        GDataWhere *addr = [[event locations] objectAtIndex:0];
          if( addr )
              //[controller.array_objject.google_events insertObject:[addr stringValue] atIndex:i];///// 4   location
              [temporary addObject:[addr stringValue]];
               [controller.googlearray addObject:temporary];///// 4   location

      }
NSURL *nextURL = [[feed nextLink] URL];
    if( nextURL ){    // There are more events in the calendar...  Fetch again.   FETCHING*********************************
      GDataServiceTicket *newTicket = [googleCalendarService fetchFeedWithURL:nextURL delegate:self didFinishSelector:@selector( eventsTicket:finishedWithEntries:error: )];   // Right back here...
      // Update the ticket in the dictionary for the next batch.
      [dictionary setObject:newTicket forKey:KEY_TICKET];
    }
  } else
    [self handleError:error];
}

now I am retrieving the start and ending time, title, location etc. of the event here, but I also want to retrieve the description of the event, means if user enters any description while creating event, so in that case I want to retrieve that description or details of event too, I tried hard but in vain.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:59:58+00:00Added an answer on May 26, 2026 at 1:59 am

    The description of an event is available as [[eventEntry content] stringValue]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to retrieve a Google Calendar event using the Zend Gdata library. When
I currently using Google Places API for retrieving information for in a mobile application(iOS
I am having difficulties in retrieving 50 results from google. I'm using this: public
I'm using DotNetOpenAuth lib to work with Google(only) OpenId. And I'm retrieving Email without
I've got a functional fullCalendar http://arshaw.com/fullcalendar/ working retrieving a single source from Google Calendar
I am interested in retrieving this type of link from maps.google.com https://i.stack.imgur.com/2rInK.jpg At the
Hey, I'm having some trouble with this code for retrieving Google Analytic data. if($_GET['month']
I am using http://maps.google.com/maps/api/js?sensor=false to retrieve latitude and longitude for address. While retrieving the
I am retrieving a Google Earth .kml (xml) file and using the content to
I am retrieving Google's weather API XML and using PHP. I'm retrieving the weather

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.