Wednesday, February 20, 2008

Adobe AIR: Web to Desktop

Past few days, I have came across Adobe AIR through digg, techmeme, delicious and so today i thought i should try this. Adobe AIR lets us their existing web development skills in HTML, AJAX, Flash and Flex to build and deploy rich Internet applications to the desktop. For Application development you will need two things:


Having Adobe AIR extension for Dreamweaver CS3 can be very helpful as it facilitates to package and preview .air application files directly within Adobe Dreamweaver CS3.

As my first AIR application, I ported my rubiks cube timer as a desktop application (RubikTimer.air). Its very easy using dreamweaver extension, have a look here : Create your first HTML-based AIR application with the AIR SDK (great tutorial for beginners).

One problem I faced: Usually setInterval("display()",500) works with Firefox/IE but it was not starting with no error message to look into but then i found out about using Adobe CommandLine tool. (via Three ways to debug Adobe javascript Application). It´s called ADL and resides in the /bin folder of the SDK. ADL showed the Error: "Unsafe javascript". Then after some random changes when i change it to "setInterval(display,500)", It started working. Another problem I faced was related to keypress events in javascript, were not working with AIR (still have to resolve this issue)

Download RubikTimer.air here
Web Based Rubik Cube Timer

Related Post:

Sample Adobe AIR Applications
Trying hands on Google gadgets

Trying hands on google gadgets

Tonight i tried creating some google gadgets (actually its quite easy using Google Gadget Creator). You can check out them here: Google gadgets . You can use html / javascript (as in any other webapage) to create gadgets.Rubik timer gadget So i converted my Rubiks Cube Timer to a gadget. Other one is a gadget to search stock, scripts on bombay stock exchange.

You can also create gadgets using : Make your Own Gadget (Which is as simple as filling out forms)

Friday, February 15, 2008

New Webpage :)

Hi everybody....
As I'm graduated from IIT bombay completing my B.tech in computer science, so my webpage there wont be available for long. So I have taken a new web domain : http://www.aburad.com with hostmonster till now services are good for what I paid. Right now i have just shifted my iitb page there, but soon will be posting new stuff...so watch out !!

Visit: http://www.aburad.com

Sunday, February 10, 2008

Elephanta Caves


Yesterday I visited Elephanta Caves which are beautifully carved shiv temples out of solid rock mountain. These caves dates back to 5-7 century A.D. You can reach there by a ferry from Gate Way of India, Bombay. The ferry ride was awesome with beautiful view of sea, Gate way of India, Taj hotel and mountains along with refreshing and cool breeze.





For more pics check my picasa album