iCal reader sample
The goal of this sample is to read an iCal (ics) file, to convert it to an ActionScript model and to display it using the Calendar component available in ILOG Elixir 2.0 beta 1.
This sample has been demonstrated by Christophe Jolif during Adobe MAX US & Adobe MAX Europe.
This application does not support the complete specification but it reads the events of a calendar to be able to display them. Don’t come back to me saying that this or this feature is not supported !
Note that the time zones defined in the ics file are ignored so the dates should be defined in local or UTC time.
This sample takes form of an AIR application. You can drag an iCal file from your file explorer and drop it on this application or add a file using the “Add” button in the right panel.
To install and run the application, you will need the latest AIR runtime available at http://get.adobe.com/air/.
Download and Install Application
This sample is using the Darkroom skin (by Juan Sanchez), one of the great skins from scalenine.com (not included in the sources, to copy into src/resources/style).
Screenshots

Load a file using the “Add” button in the left panel

Several calendars can be displayed

The day agenda displayed on the right panel

Search for an event using the search box, the non matching items are darker than the matching ones.










January 19th, 2009 at 7:12 am
[...] I started with the sample showing how to display Microsoft Project in Flex, then Damien posted his Google Calendar Reader in AIR, and today I release the ILOG Elixir OrgChart expand/collapse [...]
March 16th, 2009 at 4:05 am
[...] a previous post I have shown how to read and display ics files. Using this sample, it is possible to read a Google [...]
April 29th, 2009 at 5:12 am
Hi this is a cool work
I need to know one thing
Can i get data from database(backend) instead from ics or other
April 29th, 2009 at 6:25 am
Hi,
The Calendar component is a regular Flex component. So you can populate it with data from a data base using LCDS / BlazeDS or a custom server side application (JAVA servlet, web service, etc…).
For example, see this blog where I used Google API to populate the calendar: http://blogs.ilog.com/elixir/2009/03/16/display-google-calendars-using-ilog-elixir/
Thanks,
Damien