Not supported: Air + Ajax + (flex-ajax-bridge) + LCDS

I'm building an application Air (Flex + extjs) and offline synchronization with LCDS. For sure I need the flex-ajax-bridge.
But the experiments failed on Air runtime container, when ajax tried to communicate with server end data services.
And I checked the source code of flex bridge file (FDMSBridge.as):
import bridge.FABridge;
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.events.Event;
import flash.external.ExternalInterface;
import mx.core.mx_internal;
use namespace object_proxy;
[Frame(extraClass="FakeFlexInit")]
public class FDMSBridge extends FDMSBase
private var gateway:FABridge;
public function FDMSBridge()
super();
if (ExternalInterface.available == false)
return;
ExternalInterface.addCallback("createObject", createObject);
private function createObject(className:String, cArgs:Array):Object
From the source code, we can tell the bridge rely heavily on the flash.external interface; AND look at this link -
http://livedocs.adobe.com/labs/air/1/aslr/flash/external/ExternalInterface.html
where it says -
Note: Adobe AIR currently does not support the ExternalInterface class.
which leads to the conclusion that:
Air + Ajax(HTML) + LCDS solution is not supported by AIR currently.
The ExternalInterface class environment:
Browser Operating System Operating System
Internet Explorer 5.0 and later Windows
Netscape 8.0 and later Windows MacOS
Mozilla 1.7.5 and later Windows MacOS
Firefox 1.0 and later Windows MacOS
Safari 1.3 and later MacOS
Can anyone tell me what's the version of AIR built-in browser (squirralfish)? or, will AIR support FDMSBridge soon?
Thanks!

I agree, it would be nice to have gzip encoding support in
AIR's browser component. But, I looked at what my AIR app sends
when it requests a web page, and it's not claiming to the remote
server that it can support gzip. If the server is sending the
content gzipped anyway, it's almost certainly broken. Web servers
aren't supposed to dictate encodings. Clients say what they're
capable of receiving, and servers send the data in that format if
they're capable of sending any of the requested formats.
I see only one exception in the spec.
Section
14.3 says the server is allowed to send what it likes if the
client doesn't say what it wants (true for AIR) and it cannot
support the default, which is to say, sending the raw data as it is
on disk. So, is that the case? Can this server really not send raw
data, to anyone, ever? If so, it's violating the spirit of the web,
to the point that I'd say it's broken, even if the spec does allow
it. And if the server really is capable of sending the raw data,
it's
really broken for insisting on sending it compressed when
the client hasn't told it that it can handle it; this would
actually be against the spec, not just against the spirit of the
spec.
It would seem a more sensible use of your time to fix the
server than to go and learn another technology just to work around
its brokenness.

Similar Messages

  • Are there release notes for the new Flex Ajax Bridge?

    Are there release notes for the new Flex Ajax Bridge?

    Hello,
    You can find the release notes
    here
    . The wiki page has been updated as well to point to the release
    notes document, in the Where can I find out more section.
    Thanks for noticing they were missing,
    Cristian

  • My printers do not support air printing.  How do I print from my iPad?

    Can anyone shed any light on why I can't print from my iPad? 

    Didn't your title answer your question?
    Absent AirPrint ready printers, your other options are any of the apps which do enable iPad printing in any of several different ways. Search the App Store for those sorts of apps, take a look at them, read the descriptions and reviews, marry up the best printer/app combinations and give them a try.

  • The type of Raw File used in my Canon 7D MKll is not supported in Bridge, Camera Raw or Photoshop 5S. How can I fix this?

    The type of Raw File used in my Canon 7D MKll is not supported in Camera Raw, Adobe Bridge or Photoshop 5S. How do I fix this?

    I gather you are using Photoshop CS5? The most recent Camera Raw version that CS5 will accept is ACR 6.7. Support for the Canon 7D Mark II was added in ACR 8.7.1. You will have to use the DNG converter to covert your CR2 files to the universal DNG raw format. Here are the links for the DNG converter:
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.7.1
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.7.1
    Benjamin

  • HT6510 Mid-2011 Macbook Air doesn't support Air Drop/Continuity/Handoff?

    Why does my mid-2011 Macbook Air not support Air Drop/Continuity/Handoff?  It has Bluetooth 4.0, which is what I thought was the main requirement for getting these devices to work together. I also have an iPhone 6 Plus and a 4th gen iPad.

    If you check your "System Information", it will tell you if Handoff is supported:
    Click on  > About This Mac > System Report...
    Under Hardware, click Bluetooth and check the "Handoff Supported" line

  • Mid 2010 Macbook Pro to a Samsung Tv. (Mode not supported)

    Hi, I have a macbook pro mid 2010, when connected to an external tv, i get the mirroring option, however when i uncheck the mirroring option (cause i need 2 desktops screen instead of one), my external monitor shows " Mode not supported ". I have a samsung LCD TV. It works perfectly with mirroring option, but I don't want a mirroring option..... Can anyone help?

    I have a MacBook Pro 15 inch early 2011.
    The new features available in OS X Yosemite like Continuity, Handoff,etc are not supported in this model.
    I did upgrade RAM to avoid any possible slowdown.
    I found replacing the HD with SSD is  too expensive for  a 4 years old model.
    Replacing the CPU/GPU is not for amateurs.
    If you think that rebuilding a Mac part by part is a viable option, please go ahead and rebuild it.
    Best.

  • Examples for using the Flex-Ajax-Bridge

    All samples that ship with BlazeDS use pure Flex on the
    client-side; what I would like to
    have are samples that show the Flex-Ajax-Bridge in action;
    using BlazeDS/LCDS as the data
    exchange engine; and then use this engine's capabilities to
    do Ajax stuff on the
    client-side; I have found one example where Ajax delivered
    data is pumped into Flex using
    the Flex-Ajax-Bridge; but not the other way round ...
    Another question: Can I use the Flex-Ajax-Bridge shipped with
    BlazeDS with the standalone
    LCDS and the CF8 integrated LCDS, too ? Or are there
    different versions of the
    Flex-Ajax-Bridge available ?

    - get an instance of weblogic.management.MBeanHome for the WLS server from
    JNDI, using weblogic.management.MBeanHome.JNDI_NAME+"."+"yourServerName"
    - get MBeanServer from MBeanHome
    To register your mbeans...
    - invoke registerMBean() on MBeanServer as in javax.management.MBeanServer
    - Note that the objectname which is passed to registerMBean() should be an
    instance of weblogic.management.WebLogicObjectName
    To get values from weblogic mbeans.....
    - use various getters in weblogic.management.MBeanHome
    pls see relevant javadocs for details
    Michael Guillory <[email protected]> wrote in message
    news:3a5e155b$[email protected]..
    I would like to revisit Peter's question from 1/2/2001. I need to be ableto
    access the
    Mbeans from the Administration Server, please let me know where I can find
    some
    information.
    Thank you
    Mike

  • Flex-Ajax Bridge general availability

    We have an Ajax application; we have new requirements to
    display graphs that update dynamically every couple of seconds, we
    found Flex and Flex-Ajax Bridge very helpful.
    But I believe the Flex-Ajax Bridge has not been completely
    tested and it is only in a pre-alpha stage.
    What is the roadmap for Flex-Ajax Bridge? When will it be
    fully tested/supported?

    Hi,
    this needs clarification:
    FABridge:
    http://livedocs.adobe.com/flex/3/html/help.html?content=ajaxbridge_1.html
    is *client* side library - it allows ActionScript engine communication with JavaScript engine (two-way) to enrich client side epxerience.
    The Flex/Struts is client/server integration and yes, there are existing solution I think (note: I'm not web-tier coder), see:
    http://www.adobe.com/devnet/flex/articles/flex_struts.html
    http://code.google.com/p/fxstruts/
    above seems quite dated - but it at least shows possibilities I think.
    regards,
    Peter

  • Flex Ajax bridge - flash player detection

    Does anyone know of a Flex HTML wrapper template which
    handles the express install (with history) user experiences in a
    manner which is compatible with the lifecycle of the Flex/Ajax
    bridge? Assuming JavaScript is enabled, the express install process
    creates the embed DOM node for the SWF dynamically; however, the
    FABridge scripts assume that the embed node(s) exist within the
    DOM; the the initialisation of the FABridge queries the DOM for
    ‘bridge’ instances (i.e. embed tags with the relevant
    flash vars). If the embed node is not present, the
    FABridge.instances object is not initialised correctly. This causes
    two problems: firstly, attempting to register an initialisation
    callback in the FABridge will fail, since the bridge instance is
    not known. Secondly, the ExternalInterface call from the Flash
    component to signify that it has successfully initialised does not
    have an endpoint to communicate with, meaning that the client side
    lifecycle cannot be instantiated.
    If anyone has come across a useful strategy to approach this
    problem, I'd be hugely grateful for any pointers.
    Thanks, Greg

    The html wrapper code generated by Flex Builder does this
    automatically if you have Project, Flex compiler, use Express
    Install checked.
    Tracy

  • Adobe Flex & AJAX bridge & ExtJS

    I have similar problem as the follow post: anyone has solution?
    http://forums.adobe.com/message/2568496

    Problem solved!!!
    The cause was Ext panel moving around Flex <object> when rendering itself during init phase in JavaScript. That caused Flex Ajax Bridge to lose its connectivity with the object. Changed object creation into lazy one (after eveything was moved around) and works ok.

  • The selected Flex SDK does not support building mobile projects

    I am unable to create a new Actionscript Mobile project.  The new project dialogue gives the error: "The selected Flex SDK does not support building mobile projects."  I tried seting the default Flec SDK both to the SDK included with Flash Builder 4.7, and also to a version of the 4.6.0 SDK (build 23201) with AIR 3.3 SDK overlayed on it, which already existed on my computer.  Both resulted in the same error.  Any ideas?

    Hi ,
    Actionscript Mobile projects use AIR SDK by default in Flash Builder 4.7 . Flex SDK won't be used for Actionscript projects.
    Could you please try creating an Actionscript project in fresh workspace and let me know if the issue still exists.
    Also attach screenshot and error log if any.
    Thanks,
    Sanjay

  • Just bought a Macbook Air.  I does not appear to be compatible with my LCD projector.  What LCD projectors work best with MacBook Air?

    My Cannon LCD LV-7210 projector does not recognize my Macbook Air nor does my Macbook Air recognize it is attached to an LCD projector.  Yes, I do have the proper adapter. 
    What LCD projectors work best with Macbook Air?  Does this LCD projector have auto-detect for computer?
    Thanks!

    I've just purchased a *27in (aluminium case) LCD Cinema Display* and am using it with my MacBook Pro, linked by the supplied three-jack cable (Mini DVI display jack).
    The 27" display uses Mini DisplayPort, not Mini DVI.
    But I also have *a white-cased MacBook (purchased in 2008) which has an older type of display socket*, certainly not compatible with the Mini DVI type.
    The early Mac Book uses Mini DVI.
    1. Is there a cable or adaptor available to link my older MacBook to the Cinema Display? Nothing in the online store looks 'right'
    No. Mini DVI is single-link, and does not support the resolution needed for the 27" display.

  • Is there any way to export a desktop AIR package when desktop is not supported by an ANE?

    I have a third party ANE that I need to use. The ANE has a target for Android, but when I add it in Build Path->Native Extensions an error shows up "This ANE does not support Desktop(Mac) platform". Now, my app is targeting android, but to make it easy for others in my company to play builds without having a device, I've been using the "Export Release Build->Signed AIR package for installation on desktop" option. The problem is, since I've added the ANE, I'm no longer able to hit the "finish" button because it's greyed out due to the error (even though the checkbox to include the ANE is unchecked in the export settings. The only way I've found to work around this is to remove the ANE temporarily and comment out references to it to build the desktop package, which is not optimal. Any other suggestions?
    Thanks!

    Rather than commenting it out, you could define a compiler parmeter:
    [code]
      -define=CONFIG::includeAndroidANE,true
    [/code]
    Then, in your code, wrap any references to the problem code in the config statement
    [code]
    CONFIG::includeAndroidANE
    import the.problem.package.ProblemExtensionClass;
    [/code]
    And:
    [code]
    CONFIG::includeAndroidANE
       if(ProblemExtensionClass.isSupported()) {
            var v:ProblemExtensionClass = new ProblemExtensionClass();
             v.init();
             v.doSomethingThatIsntSupportedOnAMac();
    [/code]
    Then, when you compile for Mac, you just need to set CONFIG::includeAndroidANE,false;
    This is what OSMF does to support different versions of the player, and also what SWIZ do to support different versions of Flex.
    All good.
    G

  • Recent air sdk (air 4.0 beta) is still not support xxhdpi

    my application is set applicationDPI = '320'. and is working well in hdpi, xhdpi etc devices...
    but new devices like galaxy S4 is 1920x1080 xxhdpi.
    air 3.9, and this 4.0 version is not support that dpi, then my app layout is still broken.
    this bug is fixed on Apache Flex SDK. so I used that sdk. but i want official adobe air sdk. is have adobe plan of resolving this?..

    I agree - this is not working for me either. Here are more details:
    I'm having a similar issue where an iPad Mini w/ Retina display appears to be a low res deivce:
    Apache SDK 4.12
    FlashBuilder 4.7
    .ipa compiled on both Mac and PC
    tried pointing to an iOS 5.1 SDK during compile on both Mac and PC
    app descriptor:
    <iPhone>
            <InfoAdditions><![CDATA[
                 <key>UIDeviceFamily</key>
                 <array>
                        <string>1</string>
                        <string>2</string>
                   </array>
                   ]]>
            </InfoAdditions>
            <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
    Test app reports -
    Capabilities.screenResolutionX: 768
    Capabilities.screenResolutionY: 1024
    Capabilities.screenDPI: 132
    stage.fullScreenWidth: 1024
    stage.fullScreenHeight: 768
    I'm expecting higher resolution and DPI. Any ideas why?
    Test code is here:
    https://www.dropbox.com/s/u072ou6enxa54k9/src.zip
    Please let me know what else I can provide in order to help troubleshoot.

  • FLEX & AJAX Functionality

    I want to develop AJAX type popups in a Flex app so that when
    you roll your mouse over a key word or icon, an AJAX type window
    will popup with data about the word or image. How do you create
    that utilizing the FLEX-AJAX bridge or the Flex popup class? Thank
    you.

    toolTip?
    Tracy

Maybe you are looking for

  • Auto Downlaod of Email Attachments

    Hi, I have set up a few email accounts using the email apps on my iPad 2 and they includes Yahoo!, Gmail, MS Exchange and my office MS Outlook. I did a test today and realise that all the email account will ask for my permission before downloading th

  • Error activating logical port for service group

    Hi, I reconfigured the Starter Services because I changed the backend. It all worked fine, but in SOAMANAGER it throws an error when trying to activate logical ports for service group /IWCNT/BPC_SERVICE_GROUP (error is thrown for all 4 service groups

  • Lightroom 1.3 Import not automatic for card reader

    Lightroom no longer opens Import window when card is connected, as it did with ver 1.2. Preferences are set to "show import dialogue when card is detected". When card is inserted in reader, Lightroom starts, but Import dialogue box does not appear. I

  • Failed to work with DocNav offline

    Hi, I have an offline network that I want to use DocNav on it. I tried to do the next steps in order to pass the DB to the network, but I had some problems. I downloaded the hole DB to an internet computer I have as Shared Download. I copied all the

  • Can't paste in Android Chrome?

    Any idea why I can't paste into this field with Android Chrome? It works in the code tag pop-up and in the subject line, but not the subject body. This topic first appeared in the Spiceworks Community