I'm using the GData Calendar API to get a feed from an account in a
domain hosted by Google.
When I do this I'm getting a ResourceNotFoundException. I guess this
is due to using the wrong URL. Can anyone point me to docs on the
correct path for hosted domains accessed via the GData API?
Here's a sample of my code. This works fine if I use a "gmail.com"
account.
----------------------------------------
// Set up the URL and the object that will handle the connection:
URL feedUrl =
new
URL("http://www.google.com/calendar/feeds/n...@example....@");
GoogleService myService = new GoogleService("cl", "company-app-1");
myService.setUserCredentials("n....@example.com", "password");
// Mark the feed as an Event feed:
new EventFeed().declareExtensions(myService.getExtensionProfile());
----------------------------------------
I would expect the URL to include "hosted/example.com", but that
doesn't work either.