I am creating a url to access the google calendar of users using google-javi-api as such:
CalendarUrl url = CalendarUrl.forEventFeed("accountName", "private", "full");
which returns me this url:
"https://www.google.com/calendar/feeds/ user@gmail.com /private/full?prettyprint=true"
I would like to set the parameters for this URL with the parameters startMin and startMax, so that in the end the URL looks like this:
"https://www.google.com/calendar/feeds/default/private/full?start-min=2011-06-00T00:00:00&start-max=2011-06-24T23:59:59"
All my attempts at this failed, and after registering the return URL, I found that "?" is replaced by "% 3F", and ampersands are replaced by "&"
Invalid url returned:
"https://www.google.com/calendar/feeds/default/private/full%3Fstart-min=2011-06-00T00:00:00&start-max=2011-06-24T23:59:59"
I am sure the reason my result set is null is the replacement of these characters. How to add source URL with new parameters?
** If you are interested in how I build this URL, I use the CalendarURL class from this Google implementation example of Google Calendar .
EDIT
In particular, in the CalendarURL class, I can add parts to the "path" of the URL, but I cannot find a way to include the query parameter. Does this API not include a way to specify a parameter?
source share