1. #1
    Ext JS Premium Member smokeman's Avatar
    Join Date
    Jul 2007
    Posts
    475
    Vote Rating
    2
    smokeman is on a distinguished road

      0  

    Default 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?

  2. #2
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    526
    Vote Rating
    17
    makana has a spectacular aura about makana has a spectacular aura about

      0  

    Default


    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
    makana
    Programming 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

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    @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

  4. #4
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460
    Vote Rating
    0
    Mycoding is on a distinguished road

      0  

    Default


    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.

  5. #5
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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

  6. #6
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460
    Vote Rating
    0
    Mycoding is on a distinguished road

      0  

    Default


    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

  7. #7
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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

  8. #8
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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

  9. #9
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460
    Vote Rating
    0
    Mycoding is on a distinguished road

      0  

    Default


    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
    Code:
    C:\air\bin\adl.exe application.xml
    And it will be run.

  10. #10
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    284
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    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

  1. Need to get started with GWT
    By Krishna_tgkk in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 4 Mar 2010, 6:02 AM
  2. Getting Started to Ext GWT
    By aklahiri in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Dec 2009, 11:23 AM
  3. getting started with ExtJS 3
    By bauchinj in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 23 Oct 2009, 4:15 PM
  4. Getting started with ExtJS and having issues with Async Tree
    By chanceusc in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 25 Apr 2008, 4:49 PM
  5. I mean "really" getting started - add Extjs to website?
    By HardCode in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 17 Sep 2007, 1:42 AM

Thread Participants: 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar