A HTML Adobe AIR App without Flex – pt1
Posted on: February 5th, 2009I was having trouble finding code samples and how tos on the web that detailed building a HTML/Javascript Adobe AIR application without having to use Flex or Dreamweaver. After digging around, I managed to suck the goodness out of enough resources to get my little app going. Putting it all here in one place might save someone some time.
What I wanted:
- Simple Application to enable a user to log into a website and deliver some content.
What it needed to do:
- Install using a web based installer.
- Be cross platform (Linux, windows, Mac).
- Be set to run at startup as default.
- Run as a taskbar/Dock application.
- Notify the user when there was an update for the application.
Installation and Familiarisation.
Get the Adobe Air SDK – http://www.adobe.com/products/air/tools/sdk/
Once extracted you will have a directory structure like:
AdobeSDK
bin
frameworks
lib
runtimes
samples
templates
AIR SDK Readme.txt
SDK licence.pdf
I added an additional directory for application files to the above structure.
The Applications directory is where you will put all the application specific resources for your applications.
Say we wanted to create a new application called testapp, we would start by creating a directory under the applications directory and putting all the application specific files in there.
Applications
testapp
The AIR SDK Readme.txt is a good place to start to get a feel for what is required in creating an AIR application.
You should also get familiar with the following doco:
Developing Adobe AIR Applications with HTML and Ajax
http://www.adobe.com/go/learn_air_html
Adobe AIR Quick Starts for HTML
http://www.adobe.com/go/learn_air_html_qs
Adobe AIR Language Reference for HTML Developers
http://www.adobe.com/go/learn_air_html_jslr
5 Responses to “A HTML Adobe AIR App without Flex – pt1”
-
deteLidosyday Says:
February 13th, 2009 at 01:07fascinating and communicative, but would be suffering with something more on this topic?
-
admin Says:
February 13th, 2009 at 09:33I’m hoping to put all the source files for this up soon. Check back in a couple of days.
-
Prulsisuall Says:
February 16th, 2009 at 10:48Your web page doesn’t correctly work in safari browser
-
admin Says:
February 16th, 2009 at 11:53Tested on Safari 3.2.1 without problems. Where do you have trouble?
-
Asteftaleli Says:
February 17th, 2009 at 18:21Your are Great. And so is your site! Awesome content. Good job guys! Interesting article, adding it to my favourites!
