Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Sep 12, 2013 7:41 AM

Reply

There are no replies.

I want to add event to the Icalendar threw caldav4j jar classes . Can I do that what would be the event request URL

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.