AIR app communnicating with External App

I would like to make my AIR app communicate with another
application that's running on the desktop. What are the best ways
to do this?
Ideally I'm looking to call functions inside the AIR app from
a separate program, and vice versa. This is in fact possible using
the ExternalInterface capability, however, this is only available
when the separate application is an ActiveX container (such as the
browser), and thus contains the FlashPlayer ActiveX control within
it. But what if your AS3 application doesn't just run inside the
FlashPlayer but requires the AIR runtime instead? There doesn't
seem to be any way that an external app. can talk to an AIR app the
way it can call functions on the FlashPlayer.
My reasons for needing this are that while AS3 is great,
especially for creating an interactive interface, there are still
some low-level things which must be coded in another language.
Any thoughts that anyone has on this topic would be greatly
appreciated.

Hi Bruce,
In theory, you can do what you want, but it is an indirect
way of achieving it, and there are some performance/functional
issues.
You can make a windows application that is an ActiveX control
container, and put the FlashPlayer control inside it. Handle the
"FlashCall" event in your windows program (this is fired when your
swf calls a custom external function), and then you can use it to
load and call whatever .dll function you want.
In practice, from what I've observed, there are some
limitations. The graphics performance of the FlashPlayer suffers
when embedded this way in a Windows app. Also, if you want to call
into the flashplayer sometimes the function calls fail. Having said
this, my experience is limited to AS2 implementations; maybe things
have improved with AS3.
Anyway, hope this helps. Would be interested to hear your
observations if you should try this route.
Ed

Similar Messages

  • How to integration obiee Authentication with external app?

    now i need integrate obiee with external app(web application).
    one user have 2 roles. one is teacher, others is school admin.
    when he login in external app, the first screen show teacher and school amdin. he click teacher login in this system.
    after user login in . system set the role into session.
    then he want to see obiee dashboard in external app side.
    in obiee side, i need do some resources control for this role.
    but i how to get this role? i can get the two roles from LDAP server. but i need confirm user login in external app use which role?
    i no idea for this .please help me.
    Thank you very much.

    Hi,
    Sounds like your OBIEE apps needs to be able to get the role from the session (I assume database session), which means OBIEE needs to be able to get the same session from the external app. Does the external app set a cookie or something that would identify the session? If so use that cookie in OBIEE to get the session? More than likely need more details of the architecture of you external application!
    Regards,
    Gareth

  • Problem : App works with Sun App server 8.0 but fails with 8.1

    Hi All
         I am experiencing some strange problem with executing my JSF application with Sun App Server.
         I have an EAR deployed on Sun Application Server 8.0 and 8.1.
         Strangely it works quite fine with 8.0 but fails with 8.1.
         In my JSP page ..I have a dummy component whose getter method is used as a "FormLoad" event of the page.
         <h:form id="imageForm" enctype="multipart/form-data">
         <h:messages showDetail="true" />
         <table width="980" border="1" cellpadding="0" cellspacing="0" bordercolor="#A9B8C2">
              <tr>
    <td>     
                   <h:inputHidden value="#{Screen1.initializeService}"/>
              <h:selectOneListbox styleClass="style2" id="cmbMiddleArea" immediate="true" value="#{Screen1.selectedMiddleArea}">
              <f:selectItems value="#{Screen1.middleAreaList}" />
         </h:selectOneListbox>
         In my backing bean i have ..
         public String getInitializeService() {
              ..... Retrieve all the data from DB to initialize all the components on the JSP page
              .......setMiddleAreaList......
              .......setSelectedMiddleArea.....
              ........set the values of the individal component...
         I am retrieving all the data from DB in this getter method and intializing the components on the JSP page.
         I have also checked the code generated for JSP by both the servers.I am posting the code here for reference although
         i did not find any significant difference between the two...
         For Server 8.0
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
         return false;
         For Server 8.1
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         PageContext pageContext = jspxpage_context;
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
         return false;
         Now the actual problem is "getInitializeService" method never gets called when i deploy and run the application on Sun App Server8.1
         However with Sun App Server 8.0 it woeks perfectly fine.
         Can anybody help me in resolving these issues ?
         

    Actually generated JSP code can be referred as ...
    For Server 8.0
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
         return false;
         For Server 8.1
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         PageContext pageContext = jspxpage_context;
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
         return false;
         }

  • Folio appear in app library with in-app purchase status is "Developer removed from sales"

    Please share your experience about Apple In-app purchase setup.
    Viewer Builder app: Multi-issue
    Folio published with public & retail
    Producct Id: input to iTunes In-App manage console
    In-App Status : Developer removed for sales
    After I launch the developer build customer app, I can see this issue available to purchase and download (in Sandbox environment).
    Does Custom Content Viewer app check the distribution server, when the folio is public & retail, check iTunes store, if it is ready to sale, show folio with selected price tier and make availbe to purchase.  If the record status is not "ready to sales", the folio should not appear in folio library, correct ?
    Problem In-App record highlight with red rectangle in screen capture.
    Please comment below action taken to resolve this situation.
    (1) Delete the folio using Folio Producer (unpublish);
    (2) Delete the record in iTunes In-App purchase;
    (3) Publish the folio with new productID;
    (4) add record in iTunes In-App with the new productID;
    Michael.

    Hey Bob. Yeah, I tried that. It just comes back. I even deleted the app entirely and reinstalled it. Same thing.
    I logged in through the Adobe Content Viewer and it even shows up there. I don’t understand where it’s coming from.
    I rebuilt the viewer and need to send the updated binary to Apple for approval but I’m afraid this phantom folio is going to cause them to reject it.

  • Why am I getting unable to purchase message from App Store with free apps

    Why am I getting unable to purchase message from App Store for free apps on my I pad?

    Sign out of your Apple ID, reboot yor iPad and sign in again.
    Settings>iTunes and App Store. Tap your ID and sign out.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Go go back to Settings>iTunes & App Store. Sign in. Try to download the free apps again.

  • Adobe AIR ELS meddling with mail.app ????

    All of a sudden, mail.app has decided that, in order to send any email, it needs to have keychain access to something called PrivateEncryptedDatak, which resides in ~/Library/Application Support/Adobe/AIR/ELS/com.apple.com<longStringOfNumbers>/
    Any time I send mail, mail.app asks for the keychain password. Despite the fact that a keychain password is set up, I just need to hit "enter" and "allow" to let mail.app send the email.
    Denying access results in the mail not being sent, and removing the Adobe AIR folder altogether results in a "you don't have a certificate installed" message....
    The SMTP server has been set up to use password authentication....
    The thing is: I did not install anything that should concern mail ....
    And especially nothing that should concern @#$%^&* Adobe...
    What is this AIR ELS thing and how do I get rid of it?????
    Thanks!

    I've made a little headway with this. Within your initHandler just make a call to login:
    FacebookMobile.login(loginCallback, this.stage, [], webview);
    webview is a StageWebView instance with the viewPort defined. If I left it null, or didn't set the viewPort nothing happens...
    var webview:StageWebView = new StageWebView();
    webview.viewPort = new Rectangle(0,0,400,400);
    I'm now getting a login screen.

  • Metadata and edit with external app

    Hi,
    Learning Aperture and have just done the trial. Considering purchasing but there is one thing that I find frustrating:
    I use an external raw converter for my raw files. In Aperture I have the raw and the corresponding tiff from the raw converter for cataloging. I add then metadata to the files in Aperture for organizing. When I choose edit in external editor - TIFF - the metadata is not transferred and reverts back to what it was before being imported into Aperture. This does not happen if I use PSD as the preferred file format in the preference dialog. So I started using PSD as the file format for editing, but if I want to export masters with metadata, Aperture can't do it with the PSD files and gives an error message. What gives?
    Rasool

    Sorry I should have been clear - I am referring to IPTC metadata.

  • ITunes insists on rearranging my iPad apps, even with 'Sync apps' unchecked

    Here's an issue which I've noticed crop up on a few other forums, but which there doesn't seem to be a definitive answer for.  I'm hoping that one of the veterens on this forum might have come across it and figured out a fix...
    Since iCloud launched, I've not had any need to use iTunes for any app, music, video, podcast or book syncing. I have automatic downloading enabled on both my iPad and iPhone, and that's worked very well.  Download something on one device, and it appears on the other. Wireless backup to iCloud too. All good.
    There's just one thing I do still rely on iTunes for - and that's syncing photo albums and events created on my Mac in iPhoto to my iPad.  I'm hopeful that at some point Apple will enable iCloud syncing for iPhoto albums (especially seeing as iPhoto is now available for iOS), but for now I'm stuck with using iTunes to move new albums and events to my iPad.
    Here's the thing. Given I have automatic iCloud downloading enabled for pretty much everything, I have the following sync options turned off in iTunes:
    Info
    Apps
    Tones
    Music
    Movies
    TV Shows
    Podcasts
    Books
    The only item that is checked is Photos.
    So once I'm ready to sync a newly created iPhoto album or event to my iPad, I fire up iTunes, select my iPad in the devices list, make sure that the new album/event is checked under the Photos tab, make absolutely sure all other sync options are unchecked, then I hit the sync button.
    And about half the time, this will go well.  And the other half... well, disaster. iTunes will decide that it doesn't like my iPad apps arranged in the order I have them, and will rip them from their folders and scatter them across a ton of homescreens. The result is about an hours worth of work to get them all back in place again, just so I can enjoy having my latest photo album on my iPad.
    I can't figure out why this happens.  When I have app syncing unchecked, I'm specifically telling iTunes to leave my apps well alone.  I have no interest in syncing apps to/from iTunes and my iPad. iCloud takes care of this for me now, and I have no reason to even have a copy of an app on my Mac. I can't do anything with it once it's on there.
    Has anyone come up against this issue and found a fix?
    Alternatively, and perhaps preferably, is there another way to move albums and events created in iPhoto to my iPad, without using iTunes? I know iTunes wants to be the be-all-and-end-all of syncing beasts, but now I have iCloud I have no use for it aside from photo syncing.
    Thanks in advance to anyone who can help here!

    I'm starting to think that the lack of replies is due to the fact that nobody actually knows why this behaviour is, including Apple themselves.

  • Plans for adding countries to App Catalog (with paid apps)?

    Are there any plans that HP support paid apps in countries the currently only allow free apps in the App Cataloge?
    Even though there are many free apps, many great apps are not available
    As example for a country HP could add: Austria ;D
    Post relates to: HP TouchPad (WiFi)

    Hi SabbeRubbish,
    Thanks for the detail information for this issue.
    >>Hi, I don't know where you found the information that Access apps should not be packaged with apps for Office included.
    This would mean that:
    - Apps for Office need to be removed prior to deployment
    - Apps cannot be locked, as locking an app makes it impossible to add apps for Office to it.
    My app needs to be locked to be able to upgrade the database schema later on.<<
    There is no such document describing this secnario. Based on my understanding, if we delpoy an Acccess web app which refer to an content app which inserted from Office Store we can package the Access web app directly since after publish the Access 2013 web
    app we can still use the content app.
    If you want to lock the Access web app, and there is an content app refer to the SharePoint catelog we need to modify the path for the content app based on the depolyment enviroment.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Parental Controls Always Allow App issue with Blender app (3d modeling app)

    To whom this may concern,
    I have a 3D modeling app called blender. I have installed it on my mac os running on lion (os 10.7) currently.
    What I want to do. Always run this app on an account that has parental controls set up on my mac. The blender app would be a part of the allowed apps for the account.
    Here's where I have my problem:
    I have set it up to run on an account that has parental controls set up.
    The problem I keep running in to is that every time I try to run blender I receive a popup window that says the app is not allowed and gives me three options: always allow, allow once, or okay (and close without trying to open).
    Everytime I try to click always allow and enter my password, the process just repeats the next time I open the app. This make me believe that perhaps there is some sort of executable that the blender app uses before starting that the parental controls is stopping and even when I allow blender to start, there is something else not being allowed through. Any ideas on how I can work around this (obviously I want to keep parental controls on to prevent access to other apps)?
    I'm not overly computer savvy but I can give some more info as requested if my question needs further explanation/documentation
    I guess the best way to see the problem for yourself is to download blender and try using it on an account with parental controls, heh heh.
    This is more of an annoyance having to enter the passcode everytime I want to use this wonderful app.
    Thanks for any help.

    Solution:
    I updated to OSX Mavericks and the parental controls issue went away for Blender.
    Hurray!

  • App store with no apps listed.

    I have been given a preowned ipad that has been restored to factory settings. I open the app store the page opens with headers but no list of actual apps. What am i doing wrong?

    Where are you located? Not all apps are in all countries' AppStore.
    Are you logged in under your account?

  • In-App Downloads with in-app storage

    Hello everyone, I'm new in windows development. I want to sell design elements and themes in windows store but can't find a way to store files in windows app. Short of what I'm seeking - I want that people could download windows store app, preview files
    in it and save them to local machine. 
    Maybe there is some samples?
    Thank you!

    Hi,
    As I get your question, You need to keep the theme / template offline ..
    use isolated storage to store data in your app such like theme files. If you are working on XAML youe theme may XAML style file. save it as it is, then you can add that resource in to the app.xaml in runtime by code dynamically .
    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.
    M Prabath Maduranga Peiris
    Microsoft Partner  and MSP/MSA
    Blogs : prabathsl.blogspot.com

  • WLS 9.2 Console App Conflicts with Stuts2 App

    We are seeing the following error when starting up our Struts2 application on the Admin server.
              ERROR org.apache.beehive.netui.pageflow.internal.AdapterManager :
              ServletContainerAdapter manager not initialized correctly.
              The error seems to be happening as a result of the struts configuration setting which allows you to set a class to handle MulitPart Requests:
              struts.multipart.parser=mypackage.MyMultiPartRequest
              It appears that this error only occurs when the application is installed on the admin server. Our application is not utilizing Beehive. It appears though that the Weblogic Console is. I believe that the two are conflicting. When running our application on a managed server without the console app, we do not get the error.
              This is okay since our production and test environments are set up this way anyhow. However, our developers working locally by installing the app in the admin server rather than running an admin server and a managed server.
              Anyone seen this or know of a work around?

    Have you been able to fix this problem?
              Did you try prefer-web-inf-classes" in the
              weblogic.xml file?
              Unfortunately, I don't have any suggestions. I'm in the same quandry and looking for answers.

  • I cant connect to my app store with my app id can you help me please?

    je ne peux pas me connecté a l'app store ni a itunes avec mon identifiant apple,pouvez vous m'aider??

    What happens when you try to connect? Do you receive an error?

  • Afaria Per App VPN with iOS 7.1

    Hello,
    I have a question regarding the Per App VPN function in Afaria 7 SP04. Before the update to iOS 7.1 appears the per App vpn works fine for me.
    Since I have installed iOS 7.1 I didn't got the function to run.
    Have anybody experience with that stuff on iOS 7.1? I dont get a vpn connection in the settings if I install a app policy with per App vpn in it.
    Thank you and best regards
    Michael

    The full (not "lite") version is still available.  You can get it here:
    https://itunes.apple.com/us/app/ipin-secure-pin-password-safe/id379865087?mt=8
    So I imagine what's going on is the company stopped supporting the "lite" version and you need to either purchase the full version or forget about retrieving your data from the old version.

Maybe you are looking for

  • Set up Oracle 8.1.7 Client on Redhat 7.3

    First of all, I want to thank the people who gave out the hints of downgrading Redhat from 7.x to 6.x. The problem I had was run into by many people on this forum: the Oracle Universal Installer window just doesn't pop up. In my case, I took out most

  • ABAP OO and parallel processing

    Hello ABAP community, I am trying to implement a ABAP OO scenario where i have to take into account parallel processing and processing logic in the sense of update function modules (TYPE V1). The szenario is definied as follows: Frame class X creates

  • Boolean Fields as JCheckbox in a Dynamic JTable

    Hi, I am building an application like an sql query browser. I want to show boolean fields as JCheckbox in JTable. But the problem is that the table is dynamic, i don't know which column is boolean. How can i handle this? Should i configure getValueAt

  • Need Sound Advice

    cout<< "hello world"; I am an Art Student at AI. I am studying visual and game programing. I would really like to use these Adobe programs to make some extra funds. Im struggling financially I make 870 mo. Social security income for my Autism. Id lik

  • "error checking in %m" activitymonitord

    Hi, ActivityMonitor has stopped working recently and I dont know why - a look at the system log reveals the above. Does anyone know what could be wrong? Google has not been helpful. regards, KM