The reason that is is that the whole uri parsing code does not exist  
in CF. Hence setting the URI, which normally causes parsing of the  
parameters etc, is not available.

You can use the default constructor:

new CalendarQuery("http://go/where/no/man/has/gone/before";);

Frank Mantek
Google
On Oct 18, 2007, at 8:34 AM, praveen wrote:

>
> Hi,
>
> I am working on a project and needs to get the google calendar feed In
> compact Framework.
>
> Code I am Using :
>
> CalendarService service = new CalendarService("Application Name");
> service.setUserCredentials(_strUserName, _strPassword);
>
>  CalendarQuery calQuery = new CalendarQuery();
>  calQuery.Uri = new Uri("http://www.google.com/calendar/feeds/default/
> allcalendars/full");
>
> and it gives the error that CalendarQuery.Uri is read only property.
>
> On the other hand it works fine if I Use Google's API (For Windows,
> not for compact framework).
>
> Is there any workaround for this.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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