-
17 Feb 2011 8:39 AM #1
getting started with air, and extjs-air
getting started with air, and extjs-air
so I was writing an ext application, where I needed some features air would provide. Unfortunately the only tutorials I could find were the basic ext+air+redbull from jack, and a couple of other short blog articles. It would be nice to have a basic getting started tutorial somewhere, either a forum sticky, or in the learning section.
here are some things I struggled with:
aptana studio 2 seemed to be the best choice for air+ext(no plugin for studio 3 yet). I have no idea how to set it up as a current environment. the air plugin is still air 1.5, I figured out I could add my own air sdk, so I did it that way. I also added both EXTjs, and EXTJS-AIR in spket javascript profiles, not sure if I was supposed to. They both had jsb files.
Once I had it installed, I had no idea how to bring in the examples, so the best method I have found so far, is to create a new aptana air project, and import the examples files, replacing the application.xml.
is there a better way to do that?
any other tips for a ext-air newbie?
-
18 Feb 2011 4:20 AM #2
Hi smokeman,
you can download the ext-air package and use the examples inside as a starting point.
I usually don't use aptana since they work with Air 2.0. How did you add your own sdk?
You can use this post to get an overview how to structure your app directory and your main.html file.
Regards
makanaProgramming today is a race between software engineers striving to build bigger and better Ñ–diot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)
Enhanced ExtJS adapter for Adobe AIR
-
18 Apr 2011 2:22 PM #3
@Makana
I ve created a document that describe how to use GWT(EXT-GWT) and AIR in Eclipse. Since GWT basically produce HTML/JS/CSS from Java you can use the same approach for your EXT-JS project. The document can be downloaded here : http://code.google.com/p/gwt4air/downloads/list (setup.doc)
If you have any question feel free to contact me.
cheers,
Alain
-
20 May 2011 4:35 AM #4
Very sorry for disturbing.
I want to test it.
I don't know AIR at all.
How can I compile HelloWorld sample?
I donwload ExtAir, AIR SDK.
Air SDK is in C:/air
HelloWorld sample in
Z:\home\ext-air\www\ext-air-3.3.0\ext-air\examples\helloworld
Please be so kind to help me.
-
20 May 2011 6:02 AM #5
Download the Aptana IDE
It s much easier to develop air applications with it.
Just go to New->AIR project
The rest is pretty straightforward.
If you have any questions feel free to ask .
Best,
Alain
-
20 May 2011 10:44 AM #6
Did I understand right that at the moment Air plugin for Aptana is availible only for Aptana 2?
I install Aptana 3 and can't install Air.
Also on Aptana site it is said about Aptana 2 for Air.
http://www.aptana.com/products/air/install
-
20 May 2011 11:40 AM #7
Because Aptana now belongs to Appcelerator i think they wont support Adobe AIR anymore.
There is also another way to setup a project in Eclipse to use the AIR SDK without needing a plug-in
I will write a tutorial and let u know when i m done.
Best,
Alain
-
20 May 2011 12:53 PM #8
OTOH if you do not plan to build Titanuim application The Aptana studio 2 is pretty good. I use it as a plug-in for eclipse
here is the link
http://download.aptana.com/tools/stu...install/studio
So you actually do not need to wait for my tutorial
Hope this could help
-
20 May 2011 12:58 PM #9
I found much easier way.
May friend once told me something about it.
We should just place AIR SDK in C:\air
then go to project and run cmd
then run this
And it will be run.Code:C:\air\bin\adl.exe application.xml
-
20 May 2011 1:02 PM #10
Well if you are a command line dude that works also

I naturally tend to use an IDE.
Specially when packaging AIR applications i just cant remember in which order to put the arguments.
With Aptana is quiet easy. But if it works for you go ahead.
Similar Threads
-
Need to get started with GWT
By Krishna_tgkk in forum Ext GWT: Help & Discussion (1.x)Replies: 1Last Post: 4 Mar 2010, 6:02 AM -
Getting Started to Ext GWT
By aklahiri in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 4 Dec 2009, 11:23 AM -
getting started with ExtJS 3
By bauchinj in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 23 Oct 2009, 4:15 PM -
Getting started with ExtJS and having issues with Async Tree
By chanceusc in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 25 Apr 2008, 4:49 PM -
I mean "really" getting started - add Extjs to website?
By HardCode in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 17 Sep 2007, 1:42 AM


Reply With Quote