Questions tagged [ical4j]

iCal4j is a Java API that provides support for the iCalendar specification as defined in RFC2445.

iCal4j is a Java API that provides support for the iCalendar specification as defined in RFC2445. This support includes a Parser, Model and Generator for iCalendar data streams. For more information check out the API Documentation.

139 questions
17
votes
3 answers

how to fix proguard warning 'can't find referenced method' for existing methods 'clone' and 'finalize' of class java.lang.Object

I try to compress an android app that consumes ical4j.jar. When i build the apk with proguard using gradle proguardDebug i get Warning: net.fortuna.ical4j.model.CalendarFactory: can't find referenced method 'void finalize()' in library class…
k3b
  • 14,517
  • 7
  • 53
  • 85
15
votes
1 answer

ICS (iCalendar) UID purpose and use

I'm creating a sync adapter towards ICS files in Java, and I have a problem recognizing the same events across new updates towards a remote file which is dynamically created. So I thought, great I can just use the UID, it turns out it's randomly…
user1004147
  • 315
  • 1
  • 2
  • 10
9
votes
2 answers

How can I add an ICS meeting automatically to the Organizer's calendar?

Our java application generates ICalendar files using ical4j, and sends them out to users as part of an HTML e-mail notification. A couple of users (the Organizers of the meeting) report that the the "Accept", "Reject", etc. buttons for the meeting…
RMorrisey
  • 7,637
  • 9
  • 53
  • 71
8
votes
1 answer

Difference between ical4j libraries org.mnode.ical4j and net.fortuna.ical4j

We are using ical4j through maven. While browsing mvnrepository, I came across org.mnode.ical4j as the most used ical4j library in the Maven Central Repository, and it has the latest versions. Though there is also net.fortuna.ical4j, from a 3rd…
Mani
  • 186
  • 5
7
votes
1 answer

Send calendar invite per email with java

I'm trying to send calendar invites per email with java. The recipient gets the email but instead of being shown an invitation to accept or decline, the event is automatically added to his calendar. I'm building the event/invite with…
diminuta
  • 1,545
  • 8
  • 32
  • 55
6
votes
1 answer

iCal4j and newlines

I'm trying to read a calendar feed from http://meetup.com/, but it seems that iCal4j is unable to deal with linebreaks in X-ORIGINAL-URL attributes: it fails on this line: X-ORIGINAL-URL:http://www.meetup.com/chicagoscala/calendar/ical/The+Chicago …
Wilfred Springer
  • 10,869
  • 4
  • 55
  • 69
5
votes
3 answers

Recurrence rule in ICal4j

I'm trying to create an .ics file using ICal4j. But when I try to add a recurrence it fails, throwing a ValidationException: net.fortuna.ical4j.model.ValidationException: Invalid property: RRULE at …
user970183
  • 103
  • 1
  • 6
4
votes
1 answer

java- iCal4j - Adding description of a meeting

I am using iCal4j to creating ics file from outlook calendar. Now when I am creating a VEvent object, I am adding the calendar subject. VEvent meeting = new VEvent(startDate, endDate, subject); But how to add the meeting description ? I could not…
Barun
  • 1,885
  • 3
  • 27
  • 47
4
votes
1 answer

How to use an iCal calendar in a Java program from a calendar URL?

Currently I am using 2 tools to start processing an iCal calendar from URL. First, using Google Chrome I create a .ics file from the calendar URL (for example I can get URL from AirBnb) and then I use ical4j to process the created file. Is there…
Alex
  • 7,007
  • 18
  • 69
  • 114
3
votes
0 answers

Outlook wont preview ics file created by ical4j

When sending ics attachments created by ical4j via sendgrid to an outlook user they aren't able to "preview" the invite. It recognizes that the attachment exists but claim "This file cannot be previewed because there is no previewer installed for…
3
votes
1 answer

ical4j 2.2.0 using Grape, throws java.lang.NoClassDefFoundError: javax/cache/configuration/Configuration when loading a calendar

Previously I have been able to run this script that read events from a url.ics import net.fortuna.ical4j.util.Calendars import net.fortuna.ical4j.model.component.VEvent @Grapes( @Grab(group='org.mnode.ical4j', module='ical4j',…
3
votes
1 answer

Disable outlook "propose new time" button by iCalendar vEvent

I have a specific question. I sent out iCalendar files by the library iCal4j but now I need that the receiver of the iCalendar can't propose a new time. So the button 'propose new time' nee te bo disabled. When I sent out a meeting request from…
Michel
  • 9,220
  • 13
  • 44
  • 59
3
votes
1 answer

RFC5545. Calculate event occurrences for RRULE and EXDATE (EXRULE) at same time

I have to calculate event occurrences. Calculation should be based on recurrent event pattern. Recurrent event pattern is rfc5545 based. I've found lib-recur library to calculate occurrences. Following description I see they provide calculation…
Sergii
  • 7,044
  • 14
  • 58
  • 116
3
votes
0 answers

Filtering current event iCal4j

I'm trying to use the ical4j library to find the current event (or at least events occurring today) in an ical file that contains recurring events. I've managed to build and print all events in the calendar but I have been getting…
3
votes
2 answers

How should I use iCal4j to add a meeting organizer to an iCal event

This is how I successfully create the event, but I couldn't successfully code the organizer addtion: //Creating a new calendar net.fortuna.ical4j.model.Calendar calendar = new net.fortuna.ical4j.model.Calendar(); …
RonyK
  • 2,644
  • 5
  • 32
  • 42
1
2 3
9 10