1. #31
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    298
    Vote Rating
    62
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    Hello there,
    I m really glad Gwt4Air could help you .
    Hopefully you guys are also going to like the next features

    With the version 2 coming out in few days, i receive a lot of emails asking me what "support for the flex framework" means. Well it simply means that i ll export the flex api to java(GWT), just like i did with the other apis.

    The idea of this project started with a discussion with a customer who had a team of java developers and wanted to write flex based AIR applications without going the AS3 way. They asked me if it s possible the export flex to java. The first time i said i dont think so
    The problem with flex is that the mxml compiler generates a lot of code under the hood. And even if you take a look at the generated code you can not learn much from it because it es really cripted
    So i had to find a way to manually load flex. I wont explain how i did it here since the project will be open source anyway , but after the release one will be able to do something like this(I m stiill working on the API though) :

    Code:
    ExampleButton testButton = new ExampleButton("Adobe Flex Test");
    testButton.addSelectionListener(new SelectionListener<ButtonEvent>() {
      @Override
    	public void componentSelected(ButtonEvent ce) {
    	FlexFrameworkWrapper.get().initFlex(FlexSkin.HALO, true, new FlexInitiaLizationHandler() {
    		@Override
    		 protected void onInitialization() {
    		Button b2 = Button.newInstance();
    		b2.setLabel("I m an sparkButton");
    		b2.setX(10);
    		b2.setY(10);
    		b2.setHeight(40);
    		Runtime.trace(b2);
    		Panel panel = Panel.newInstance();
    		panel.setTitle("Gwt4Air 4 Air Rocks");
    		com.ekambi.gwt.air.flex.client.mx.controls.Button b = com.ekambi.gwt.air.flex.client.mx.controls.Button.newInstance();
    		b.setLabel("I m a mxButton");
    		b.setX(10);
    		b.setY(60);
    		b.setHeight(40);
                    
                    DateChooser dc = DateChooser.newInstance();
    		dc.setX(148);
    		dc.setY(10);
    		panel.addElement(b2.asIVisualElement());
    		panel.addElement(b.asIVisualElement());
    		panel.addElement(dc.asIVisualElement());
    		
                     FlexFrameworkWrapper.get().addChild(panel);
    		 FileSystemDataGrid grid = FileSystemDataGrid.newInstance();
    		
                      grid.setX(500);
    		  grid.setY(10);
    		  FlexFrameworkWrapper.get().addChild(grid);
    						
    		com.ekambi.gwt.air.flex.client.mx.containers.Panel mxPanel = com.ekambi.gwt.air.flex.client.mx.containers.Panel.newInstance();
    		mxPanel.setTitle("FileSystemTree");
    		mxPanel.setX(10);
    		mxPanel.setY(350);
    		mxPanel.setWidth(455);
    		mxPanel.setHeight(200);
    						
    		FileSystemTree fileSystemTree = FileSystemTree.newInstance();
    		mxPanel.addElement(fileSystemTree.asIVisualElement());
    		
                    FlexFrameworkWrapper.get().addChild(mxPanel);
    		
    						});
    
    					}
    				});
    			}
    		});
    you can see the result here :
    [INLINE]24057[/INLINE]


    Like always feedbacks are very welcome.
    stay tuned

    Regards,

    Alain
    Attached Images

  2. #32
    Sencha User
    Join Date
    Sep 2010
    Posts
    25
    Vote Rating
    1
    GXTUser1 is on a distinguished road

      0  

    Default


    I ve said it already but you are really killing man !
    But i do have some questions.
    Will the Flex support or the other libraries also be available for browser based applications or is this only for AIR ?
    Can we then combine GXT and the other Libraries ?
    Is the source code of the app on the last screenshots available ?
    Cheers

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

      0  

    Default


    Like the name might suggest, the primary goal of Gwt4Air was to bring the Java(GWT) api to AIR. I was not planing to support web based applications. But since a lot of people are interested in browser support, Gwt4Air will support webapplication in version 3. This means that one will be able to use the Java Language to write flash based webapplications.

    Sure you can combine GXT with the other libraries. But i dont think this make sence, specially fror browser based apps. I would suggest to choose one depending on your needs.

    Sorry i can not provide the source code of the app, but if you need something special feel free to ask.

  4. #34
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    298
    Vote Rating
    62
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default Gwt4Air 2.0 now available, Announcing clientside PDF and Excel generation for GXT

    Gwt4Air 2.0 now available, Announcing clientside PDF and Excel generation for GXT


    Hello community,
    I m glad to announce the release of gwt4air 2.0
    With this relase I added support for the Appcelerator Titanium Desktop Runtime. This runtime enable you to turn you GXT apps into Desktop without rewriting any code. Gwt4Air provides a Java API to access the titanium fonctinality. Unlike Adobe AIR there s no sandbox restriction, so that the use of the Adapter is no needed. In the picture below you can see my GXT running inside titanium as a desktop app.


    What s next ?

    in the next release the project will introduce a gwt widget that will let you generate PDF and Excel files from the client by adding eventlisterners to it(no server required).
    ‘The widget will be compatible will the GXT and GWT ones.
    Stay tuned

    Cheers,

    Alain
    Attached Images

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

      0  

    Default


    Here is a small tutorial about using GXT and Adobe AIR together.
    Cheers,

    Alain

    http://code.google.com/p/gwt4air/wiki/GXT

Similar Threads

  1. GXT 2.1 and Adobe Air
    By Ekambos in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 28 Jan 2010, 6:48 AM
  2. Gxt with Adobe AIR
    By murd in forum Ext GWT: Help & Discussion (1.x)
    Replies: 6
    Last Post: 28 Nov 2009, 7:02 PM
  3. adobe air
    By mdissel in forum Community Discussion
    Replies: 3
    Last Post: 5 Feb 2008, 11:44 AM
  4. ExtJS homepage... change "Adobe Apollo" to "Adobe AIR"
    By KimH in forum Community Discussion
    Replies: 1
    Last Post: 9 Jul 2007, 3:20 AM

Thread Participants: 7

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."