There is a typo in my previous message:  Here is the correct code
Note the creator of the calendar has given username/password editor
access level

CalendarFeed calFeel=null;
CelandarService myService=null;

try{

URL url = new URL (  /*either private OR public strURL */ );
myService = new CalendarService("AccessLevelCalendar");
myService.setUserCredentials(username, password);

new CalendarFeed().declareExtensions(myService.getExtensionProfile());
calFeed = myService.getFeed(url, CalendarFeed.class);
}catch( Exception exc ) {
...// use public and exception is thrown
}

use public and calFeed.getCanPost() is false  ???

Any hint?


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