I want to add event to the Icalendar threw caldav4j jar classes . Can I do that what would be the event request URL
I want to add / retrieve event to the Icalendar threw caldav4j jar classes . Can I do that what would be the event request URL
Retrieve Events :
HttpClient http = new HttpClient();
http.getState().setCredentials(new AuthScope("p06-caldav.icloud.com", 443,"https"), credentials);
http.getParams().setAuthenticationPreemptive(true);
HostConfiguration hostconfig = http.getHostConfiguration();
hostconfig.setHost("p06-caldav.icloud.com");
hostconfig.setHost("p06-caldav.icloud.com", 443, "https");
CalendarCalDAVReportMethod method = factory1.createCalendarCalDAVReportMethod();
method.setPath("/1809484432/calendars/");
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
<D:prop xmlns:D="DAV:">
<D:getetag/>
<D:allprop/>
<C:calendar-data>
<C:comp name="VCALENDAR">
<C:comp name="VEVENT"/>
</C:comp>
</C:calendar-data>
</D:prop>
<C:filter>
<C:comp-filter name="VCALENDAR"/>
</C:filter>
</C:calendar-query>
But Iam getting bad request . Can any body help me out on this
iPhone 4