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
0
votes
2 answers

ical event shown 2 hours late in some outlook clients

We have a system written in java which sends iCal events to clients. One customer has a problem that all events sent from our system are represented in their outlooks 2 hours late as it is specified in the iCal(VCALENDAR) content. The customer…
simonC
  • 4,101
  • 10
  • 50
  • 78
0
votes
1 answer

Pass object of type from library through intent to another activity?

I have a ComponentList object from the ical4j library, and I'm loading it from a url in an initial activity and then passing it to my main activity where I'll set up the GUI with data from it. I can't figure out how to actually pass it with an…
user2623825
  • 115
  • 1
  • 9
0
votes
1 answer

iCal4j updating and deleting VEvents in iCalendar

I am making an application that creates multiple VEvents and it also needs to be able to update and cancel. Everywhere where I searched for this information, no one actually showed any code with Java, just explained in words what need to be done. So…
Limeran
  • 173
  • 1
  • 3
  • 13
0
votes
1 answer

Using VFreebusy iCalendar component

I making a scheduling application and I am using iCalendar format. I am aware that I can use this code to get the free time slots from current calendar: DateTime start = new DateTime(); DateTime end = new DateTime(start.getTime() + 1000 * 60 * 60 *…
Limeran
  • 173
  • 1
  • 3
  • 13
0
votes
2 answers

nullpointer error while writing .ics file in android

I am new to fileoutputstream and ical4j. when ever I try to run this code i get a null pointer error within the second try/catch. Also the value of fout is null after first try/catch.what is wrong with the code? Although unlikely,is there some…
ARK
  • 165
  • 13
0
votes
1 answer

How to validate recurrence string following standard rfc2445

I am workgin with google calendar api and I am using iCal4j to generate recurrence string. I would use this library also to check a string that should contain a recurrence string. How I can do that? There is an other way to do? Thank you a lot for…
Alberto R.
  • 161
  • 2
  • 10
0
votes
1 answer

How to Send Meeting Invitation From Gmail Ical4j API

I am using Ical4j API to send meeting invitation from my gmail id but how to set VEvent meeting = new VEvent(startDt, dur, subject); VEvent object to the mail API class Message message = new MimeMessage(session); message.setFrom(new…
Programmer
  • 455
  • 2
  • 8
  • 25
0
votes
1 answer

Attachment Coming while sending meeting invite on lotus notes

I am trying to send a meeting invite on Lotus notes using iCalendar and Java Mail API and its working fine except the fact that in the content of the mail an attachment is coming which doesn't even open. I have checked my code and can confirm that…
tusharagrawa
  • 371
  • 2
  • 5
  • 20
0
votes
1 answer

Trying to parse ical file with ical4j problems with newlines after description property

im trying to parse the ical here: http://www.dsek.se/kalender/ical.php?person=&dsek&tlth with this code: URL url=new URL("http://www.dsek.se/kalender/ical.php?person=&dsek&tlth"); calendar=Calendars.load(url); well, that is basicly the gist of the…
Folke
  • 59
  • 4
0
votes
1 answer

ical4j Exception Calendar must contain at least one component

Im trying to create and save an ics using ical4j When i run the following code, I get a calendar must contain at least one component.. how do I attach a component to my calendar, or an event to my calendar... Exception in thread "main"…
Tyler Evans
  • 567
  • 1
  • 8
  • 25
0
votes
3 answers

how to make iCal4j not fail on parsing errors (like 00001231T000000Z)

I am trying to get iCal4j to parse an exported Google .ics calendar file. Unfortunately the parser chokes on a particular value (00001231T000000Z) and throws an exception. My question is how can I get the parser to continue despite the bad data? …
Tom Carchrae
  • 6,398
  • 2
  • 37
  • 36
0
votes
1 answer

iCal4j parse meeting request from ICS

I want to parse ics files received from an Exchange using iCal4j to create a VEvent for local processing, and modify them to create a new time proposal (COUNTER method) for sending them back to the Exchange. The problem is that I was only able to…
Alex Biro
  • 1,069
  • 1
  • 14
  • 27
0
votes
1 answer

use CalendarBuilder (ical4j) from a service

CalendarBuilder (from ical4j) is not thread-safe. At least it seems so. Is there any way it can be used from a service? I have a service in my android app that needs this method to run. I cannot just use an activity for the same due to some…
0
votes
1 answer

Filter on one-day event with ical4j, trouble with start and end dates

I work with an export from a Zimbra calendar and wold like to create a list of all events occurring on each day. The simplified calendar looks like…
Michael Klenk
  • 3,202
  • 2
  • 19
  • 19
0
votes
1 answer

Why is ical4j taking so long to build?

I am trying to parse a google calendar ical (.ics) file using ical4j in android. But its taking over 40 seconds to build the calendar from the input stream. calendar = builder.build(fis); The ical file is only 150KB in size. Also, When I use the…
bakshi_s
  • 117
  • 1
  • 9
1 2 3
9
10