Documentation for as3googlecalendarlib

February 19, 2009

Not finding much time to work on the as3googlecalendarlib (http://sujitreddyg.wordpress.com/2009/01/29/as3-library-for-google-calendar-as3googlecalendarlib/) or the sample application using the library. I managed to create a simple API documentation for classes which should be used to consume Google Calendar service. I also created a document in which there are code samples on how to create a calendar and calendar events.

I will add more to these documents and publish a proper API documentation and yeah a sample application ASAP. :)

I have the sample application running with minimal features, but wanted to add more. :)

Snapshot of the sample application developed using this API.

Google Calendar Desktop

Google Calendar Desktop

URLs to the documents

API Documentation: http://as3googlecalendarlib.googlecode.com/files/as3googlecalendarlib_API_doc.pdf

Code samples: http://as3googlecalendarlib.googlecode.com/files/as3googlecalendarlib_code_samples.pdf

Please let me know if you face any issues or if you have any suggestions. :)


Following Indian Stock Markets made easier. Flex and AIR to rescue

February 5, 2009

I was looking for an application which will periodically retrieve stock prices for companies in Indian stock market. Unfortunately I couldn’t find one. I created an Adobe AIR application, which will periodically retrieve stock prices and other details for companies.

Features:

1.       Maintain list of companies to follow: Search for companies and add them to persistent list

2.       Auto refresh: Automatically retrieves data for stocks in the list. Auto refresh can be disabled

3.       Alerts: Configure application to alert you when a particular company’s stock value either changes or decreases/increases beyond a value

4.       Details: Current price, previous close, percentage change and volume in both BSE and NSE

5.       Windowless: Minimized to system tray

You need Adobe AIR runtime to use this application. Get Adobe AIR from this URL http://get.adobe.com/air/

After installing Adobe AIR, download Stock Ticker application at this URL and just double click to install Can be installed on ANY Operating System, thanks to AIR): This application is taken offline due to various reasons. :) Please drop me an email at sujitreddy.g@gmail.com if you are interested in using this application.

Note: If you are using IE to download the application, sometimes the file will be saved with .zip extension. In this case change the file extension to .air and double click to install. :)

Application screen shots:

Main Screen

Main Screen

Search and Add companies

Search and Add companies

Details

Details

Configuring alerts

Configuring alerts

Minimized to system tray

Minimized to system tray and Alerts

Flex and AIR Rocks !!! :)


AS3 library for Google Calendar (as3googlecalendarlib)

January 29, 2009

I created an AS3 library for Google Calendar API. This library has following features implemented.

  1. Authenticating to the Calendar service
  2. Retrieving calendar lists
  3. Retrieving all calendars
  4. Retrieving only calendars that a user owns
  5. Managing calendars
  6. Creating new calendars
  7. Updating existing calendars
  8. Deleting calendars
  9. Retrieving events for a specified date range
  10. Creating single-occurrence events
  11. Updating events
  12. Deleting events
  13. Reminders and Notifications

Please download the library from this URL http://as3googlecalendarlib.googlecode.com

All you have to do is to use the classes in the com.adobe.googlecalendar.services package to use any of the feature mentioned above.

This library still needs to be improved, in terms of adding more features, code cleanup, documentation and implementing any suggestions. I will try to complete this as soon as possible. :)

If you are interested in contributing to this library, please let me know. If you want to use this and want to know how to, leave a comment.

I am in process of creating an AIR application using this API, I will be posting soon. :)


Adobe AIR 1.5 is live

November 18, 2008

Adobe Integrated Runtime (AIR) new version AIR 1.5 is live on http://www.adobe.com/products/air

AIR 1.5 brings following features

1. Flash Player 10 features including 3D effects, pixel bender, new drawing API, dynamic media streaming, dynamic sound API, and more

2. Updated WebKit HTML engine with greatly improved JavaScript performance

3. Encrypted local SQL database support

4. JavaScript debugging support

5. Support for five additional languages (Swedish, Dutch, Czech, Turkish, and Polish)

6. Updated DRM engine


Adobe Flash Platform it is

November 18, 2008

Adobe Flash Platform

Innovation that stands out, technology that fits in

Excellent branding … Great going Adobe !


Adobe AIR team Blog

November 5, 2008

Adobe AIR team Blog is live at http://blogs.adobe.com/air/

It is maintained by the development team and is dedicated to tips, news and announcements related to Adobe AIR.


Video tutorials to learn Flex in a week

August 1, 2008

You can learn Flex in a week (actually less than that :) ) by going through amazing videos created by Adobe. They also created exercises, in which they explained step by step on how to create the applications. Also .. a forum named Flex in a Week is created, for users to get their doubts in the tutorials clarified.

Do we need more ??? Learning Flex is made easier. Please check out the tutorials at the URL below.

http://www.adobe.com/devnet/flex/videotraining/

Come join the RICH world :) :)


Creating BlazeDS channels at runtime

July 3, 2008

Usually we create channels in services-config.xml and give URL to channel end points in the same file. This is good if the server IP or the domain name will not change. What if we are developing on our system and deploying to the production server? We need to change the end point URL in the services-config.xml and recompile our application.  It will be great if you can change the end point URL at one location and the Flex application will start using that URL without a need for recompiling the application.

Solution is simple you will have to create channels on runtime. This is very straight forward and easy.  :) You need not even add your services-config.xml to the compiler arguments.

I created a sample application which will access a XML file and then create the channels based on the settings in the configuration file.

XML configurations file with channel details

I created a XML file which has details of the channels which my application has to create. If you see the snippet extracted from the XML file it has definition for AMF channel. In the definition the id is the ID of the channel configured in the services-config.xml file on the server and the endpoint node has the URL to the end point.

Download XML from this URL: ChannelsConfiguration.xml

<ChannelsConfig>

<channels>

<channel id=”my-amf”>

<type>amf</type>

<endpoint>http://localhost:9191/lcdssamples/messagebroker/amf</endpoint&gt;

</channel>

</channels>

</ChannelsConfig>

Creating Flex application

Download MXML file from this URL: DynamicChannels.mxml

Now that I have a XML file with details of the channel my application will be using. I loaded this file when my application starts and create required channels so that my application can communicate with the server for using Remoting/Messaging/Proxy/Data management services provided by LCDS/BlazeDS.

Once the application is created function named loadConfiguration() is invoked which will make a HTTP Service request to get the XML file. Check out the function, it is pretty straightforward HTTP Service call.

When the XML is retrieved I parse the XML file and create channels in the parseConfigurationFile() function. Below are few statements extracted from the parseConfigurationFile() function which are worth explaining J

First I create a new channel.

_amfChannel = new AMFChannel(channel.@id, channel.endpoint);

Next add this channel to the ChannelSet.

amfChannelSet = new ChannelSet();

amfChannelSet.addChannel(_amfChannel);

That’s it we have created the channel sets which we will be using in the RemoteObject call later. I created more channels

Now that I have the channel sets I need to instruct my RemoteObject to use this channel sets when it is trying to communicate with the server. This is how you do it.

<mx:RemoteObject id=”rmObj” destination=”MySessionHandler”

channelSet=”{amfChannelSet}”

result=”resultHandler(event)”

fault=”faultHandler(event)”

showBusyCursor=”true”/>

That is all you need to do :) you can invoke operations on RemoteObject as usual. This applies to RemoteObject/Consumer/Producer/DataService :)


AIR application for cricket lovers

June 9, 2008

Spice up your experience of following live Cricket matches!!!

Cricket Centre Beta brings live cricket experience on to your desktop. Cricket Centre Beta powered by Adobe AIRTM gives you live cricket data with rich, engaging and interactive experience on your desktop.

Download the application at this URL: http://www.cricketnirvana.com/CricketCentreWeb/CricketCentre.html

Application has two modes one of which is mini score card mode. In this mode the application is minimized to a small window on the task bar. Mini score card window shows the score, current batsmen and also alerts you when a boundary is scored, wicket is taken etc. Another mode is the normal view in which you can use the below mentioned features of the application.

Experience with the application is amazing. It’s developed using Adobe Flex and runs on Adobe Integrated Runtime (AIR). Adobe LiveCycle DS is used for pushing the data (scores and ball by ball updates) to the applications.

Application features

  • Ball by ball updates
  • Alerts when the application is out of focus
  • Mini score card mode
  • Gossips with your friends/groups
  • Express your emotions on players
  • Player profiles
  • Match statistics
  • Videos
  • Lots more

You will love this application. :) Download the application at this URL: http://www.cricketnirvana.com/CricketCentreWeb/CricketCentre.html

Enjoy :)


Adobe Developer Week 2008

March 26, 2008

March 24 – March 28, 2008

Adobe provides end-to-end web development tool suites and solutions. Join us to see what the buzz is all about in this one week long event with 20 sessions covering AIR, Flex, Flash, Mobile, ColdFusion and Dreamweaver technologies.

For maximum flexibility, you only need to register for the individual sessions you choose to attend, but as many as you wish. The sessions begin at the introductory level and move gradually into intermediate level during the week. Don’t miss this Adobe event exclusively for developers!

What Do You Need to Participate?
Online live seminars are scheduled events simulcast over the web via Adobe Acrobat Connect Professional. You’ll need a computer with a browser, Adobe Flash player and Internet connection. Voice-Over IP will broadcast over your computer if you have audio. Alternatively, audio is available via telephone. Access details will be provided once you register.

To register you need your Adobe.com membership login and password. If you need to create a membership, or do not remember your login and password, please go to the Adobe.com membership page.

Time Zone Conversion
Not located in US/Pacific time zone? See what time it is in your local time zone.
Seats are limited and eSeminars are scheduled to change without advanced notice.

Please find more details and register for the events at http://adobe.com/go/2008_developer_week


Follow

Get every new post delivered to your Inbox.

Join 108 other followers