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:
- Adobe AIR Runtime : Necessary for running AIR applications. (For windows & mac)
- AIR_SDK Provide necessary libraries to build AIR application
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
Tagged: adobe, google, html, javascript, programming, rubik
Comments
5 Responses to “Adobe AIR: Web to Desktop”
Leave a Reply
Add to del.icio.us Network
Google Reader Shared Items
Twitter Feed
Flickr Photos
Glad to see you’re looking at AIR. If you have any questions, shoot me an email.
=Ryan
rstewart@adobe.com
[...] Also Download Adobe AIR Desktop application: RubikTimer.air for cubing timer: Read about it [...]
Im a newbie to air applications .I have tried to load a local html page into my air application, but havent succeeded. Can u plz help me??
Correction: AIR can run on Windows, Mac and Linux
It` s very good