Hi Dirk,

well basically all you have to do is make an AtomQuery like this.
i use c# but there is a code in java here
http://code.google.com/apis/calendar/gdata.html#list_calendars

my code:  let's suppose you want to find all calendars related to
[EMAIL PROTECTED]

Uri feedUrl = new Uri(http://www.google.com/calendar/feeds/
[EMAIL PROTECTED]);
        FeedQuery query = new FeedQuery(feedUrl.ToString());
         // Create a Calendar service object:
        Service service = new Service("cl","myCo-myApp-1");
        // Set your credentials:
        service.setUserCredentials("[EMAIL PROTECTED]", password);
        // Tell the service to query:
         AtomFeed  calFeed = service.Query(query);

ok, if everything goes well, calFeed.Entries should be a collection of
AtomEntries, each entry has a selfUri property, for instance
calFeed.Entries[0].selfUri  should be the uri of that calendar..

so.. foreach(AtomEntry  entry in calFeed.Entries)
{
string calURL = entry.selfUri;
//do what you need to do with each uri :)
}


well i think that's about it.
cheers :D

On 7 mar, 23:50, "Dirk" <[EMAIL PROTECTED]> wrote:
> Hi Alejandro,
>
> I am trying to achieve the same, but I'm still not clear on how to
> retrieve the URIs for each associated calendar. It would be great if
> you could post some sample java code for the procedure you described
> above. Thanks !!
>
> Dirk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to