Multi Window AIR Application - How to Call

Hi All,
I am new to Adobe AIR so please forgive my ignorance. I want
to create a multi-window air flex application. The scenario is like
I have a window with menu options. When user selects a menu option,
I have to open another window with corresponding application in it.
I have created two applications inside a flex project. Each
application has <mx:WindowedApplication> as its root
component. My question is how to call the 2nd application from the
1st one? I tried SWFLoader but does not seem to work. Any help is
creatly appreciated.

You only want a single WindowedApplication component in an
AIR application. For the other windows, use the Window component.
You can then create this window object in response to the user's
menu selection. See
http://www.adobe.com/devnet/air/flex/quickstart/launching_windows.html
for examples of opening windows.

Similar Messages

  • Multi-Language Planning application - How to build?

    Hello,
    I might need to create a multi-language application for English, Spanish, and French users. I understand that installation localization will support multi-language user interface. However I need pointers on how to go about creating an app with minimal maintenance.
    How do deal with following?
    -> Member names: This can be handled through alias tables.
    -> Web forms : Should we create similar forms in different languages?
    -> Reports: Similar reports in different languages?
    -> Business Rules / Calcs: how display names in different langugaes?
    Thanks,
    Amit

    You only want a single WindowedApplication component in an
    AIR application. For the other windows, use the Window component.
    You can then create this window object in response to the user's
    menu selection. See
    http://www.adobe.com/devnet/air/flex/quickstart/launching_windows.html
    for examples of opening windows.

  • Multi-Touch AIR application in Mac?

    Hi, can someone tell me if the multi touch functions work on the Mac? I've read some postings about the multi-touch not working in the browsers on mac but will a stand-alone app run? I haven't seen any recent post with examples? Thank you!

    This is exactly the same problem I am having. I'm trying to
    load a local xml file from the same directory as the application
    (using OS 10.4.11).
    I am trying it this way:
    var xmlLoader:URLLoader = new URLLoader();
    var file:File = flash.filesystem.File.applicationDirectory;
    file = file.resolvePath("my.xml");
    var xmlPath:URLRequest = new URLRequest(file.url);
    try {
    xmlLoader.load(xmlPath);
    } catch (error:Error) {
    trace("Unable to load requested document.");
    Works perfectly on Windows but I get the #2032 error on Mac.
    Has someone done this successfully with Air (and how)? ;-)

  • Best practice when writing multi window gtkmm application?

    Hello
    Anyone here who knows gtkmm? I'm in the progress of learning it, and now I'm stuck. I can't really find a good, clean and _working_ way to add more windows.
    For example I want to create a "New project" window where the user have to enter some information, and when the user hits "Create" a new main window opens.
    Right now I have done it like this:
    main.cpp
    int main(int argc, char** argv){
    //tk_init(&argc, &argv);
    Glib::RefPtr<Gtk::Application> app = Gtk::Application::create(argc, argv, "org.gtkmm.control");
    NewProject newProject;
    return app->run(newProject);
    class NewProject : public Gtk::Window{
    private:
    //Stuff for the "new_project" window
    Gtk::Label locationLabel;
    Gtk::Entry locationEntry;
    Gtk::Label descriptionLabel;
    Gtk::Entry descriptionEntry;
    Gtk::Button createButton;
    Gtk::Grid grid;
    void CreateProject();//Callback for createButton
    public:
    NewProject();
    virtual ~NewProject();
    NewProject::NewProject()
    locationLabel("Location"),
    descriptionLabel("Description and notes"),
    createButton("Create")
    set_title("New Project");
    add(grid);
    //gtk_grid_set_column_spacing(GTK_GRID(grid), 5);
    //gtk_grid_set_row_spacing(GTK_GRID(grid), 5);
    grid.add(locationLabel);
    grid.add(locationEntry);
    grid.attach_next_to(descriptionLabel, locationLabel, Gtk::POS_BOTTOM, 1, 1);
    grid.attach_next_to(descriptionEntry, locationEntry, Gtk::POS_BOTTOM, 1, 1);
    grid.attach_next_to(createButton, descriptionLabel, Gtk::POS_BOTTOM, 2, 1);
    //locationEntry.show();
    createButton.signal_clicked().connect(sigc::mem_fun(*this,
    &NewProject::CreateProject));
    show_all_children();
    show();
    NewProject::~NewProject(){
    void NewProject::CreateProject(){
    gProject.location = locationEntry.get_text();
    gProject.description = locationEntry.get_text();
    //printf(gProject.location.c_str());
    //printf(locationEntry.get_text().c_str());
    Glib::RefPtr<Gtk::Application> app = get_application();
    //std::vector<Window*> windows = app->get_windows();
    MainWindow mainWindow;
    app->add_window(mainWindow);
    //mainWindow.Create(); //Create just calls show() on the window, tried it as a simple double check, didn't work
    hide();
    And MainWindow is defined like this:
    class MainWindow : public Gtk::Window{
    private:
    Gtk::Button testLabel;
    public:
    void Create();
    MainWindow();
    virtual ~MainWindow();
    MainWindow::MainWindow(){
    printf(gProject.location.c_str());
    if(gProject.location.empty()){
    printf("EMPTY");
    }else{
    printf("Notempty");
    set_title("asd");
    Gtk::Button testButton("TEST");
    add(testButton);
    testButton.show();
    show();
    //this->project = project;
    //Show the new project window
    //Glib::RefPtr<Gtk::Application> app = get_application();
    //app->add_window(newProject);
    MainWindow::~MainWindow(){
    void MainWindow::Create(){
    show();
    So, why doesn't the window show up? I know the code is executed, because I can see the printf() output in the terminal. Instead of showing the new window, the application just exits "successfully". If I open MainWindow from main, the windows shows up, but opening NewProject from MainWindow doesn't work.
    As I said, I'm pretty new to GTK programming, so I am not completely sure about how I should organize the code, so what I've done here might for what I now, be completely wrong, so please guide me in the right direction I will take a look at other gtkmm applications to see how they have done it, but right now I have a very limited network connections, so I will have to wait until I get home in a few days.
    Thank you I can post more code if needed, but I don't think there is any more GTK relevant code in the project.
    Edit: I kind of solved this case, since I made the NewProject window as a dialoge, so it's fine for now. However, if somebody have a general solution, it would be nice
    Last edited by Hakon (2012-06-22 20:53:42)

    Hello
    Anyone here who knows gtkmm? I'm in the progress of learning it, and now I'm stuck. I can't really find a good, clean and _working_ way to add more windows.
    For example I want to create a "New project" window where the user have to enter some information, and when the user hits "Create" a new main window opens.
    Right now I have done it like this:
    main.cpp
    int main(int argc, char** argv){
    //tk_init(&argc, &argv);
    Glib::RefPtr<Gtk::Application> app = Gtk::Application::create(argc, argv, "org.gtkmm.control");
    NewProject newProject;
    return app->run(newProject);
    class NewProject : public Gtk::Window{
    private:
    //Stuff for the "new_project" window
    Gtk::Label locationLabel;
    Gtk::Entry locationEntry;
    Gtk::Label descriptionLabel;
    Gtk::Entry descriptionEntry;
    Gtk::Button createButton;
    Gtk::Grid grid;
    void CreateProject();//Callback for createButton
    public:
    NewProject();
    virtual ~NewProject();
    NewProject::NewProject()
    locationLabel("Location"),
    descriptionLabel("Description and notes"),
    createButton("Create")
    set_title("New Project");
    add(grid);
    //gtk_grid_set_column_spacing(GTK_GRID(grid), 5);
    //gtk_grid_set_row_spacing(GTK_GRID(grid), 5);
    grid.add(locationLabel);
    grid.add(locationEntry);
    grid.attach_next_to(descriptionLabel, locationLabel, Gtk::POS_BOTTOM, 1, 1);
    grid.attach_next_to(descriptionEntry, locationEntry, Gtk::POS_BOTTOM, 1, 1);
    grid.attach_next_to(createButton, descriptionLabel, Gtk::POS_BOTTOM, 2, 1);
    //locationEntry.show();
    createButton.signal_clicked().connect(sigc::mem_fun(*this,
    &NewProject::CreateProject));
    show_all_children();
    show();
    NewProject::~NewProject(){
    void NewProject::CreateProject(){
    gProject.location = locationEntry.get_text();
    gProject.description = locationEntry.get_text();
    //printf(gProject.location.c_str());
    //printf(locationEntry.get_text().c_str());
    Glib::RefPtr<Gtk::Application> app = get_application();
    //std::vector<Window*> windows = app->get_windows();
    MainWindow mainWindow;
    app->add_window(mainWindow);
    //mainWindow.Create(); //Create just calls show() on the window, tried it as a simple double check, didn't work
    hide();
    And MainWindow is defined like this:
    class MainWindow : public Gtk::Window{
    private:
    Gtk::Button testLabel;
    public:
    void Create();
    MainWindow();
    virtual ~MainWindow();
    MainWindow::MainWindow(){
    printf(gProject.location.c_str());
    if(gProject.location.empty()){
    printf("EMPTY");
    }else{
    printf("Notempty");
    set_title("asd");
    Gtk::Button testButton("TEST");
    add(testButton);
    testButton.show();
    show();
    //this->project = project;
    //Show the new project window
    //Glib::RefPtr<Gtk::Application> app = get_application();
    //app->add_window(newProject);
    MainWindow::~MainWindow(){
    void MainWindow::Create(){
    show();
    So, why doesn't the window show up? I know the code is executed, because I can see the printf() output in the terminal. Instead of showing the new window, the application just exits "successfully". If I open MainWindow from main, the windows shows up, but opening NewProject from MainWindow doesn't work.
    As I said, I'm pretty new to GTK programming, so I am not completely sure about how I should organize the code, so what I've done here might for what I now, be completely wrong, so please guide me in the right direction I will take a look at other gtkmm applications to see how they have done it, but right now I have a very limited network connections, so I will have to wait until I get home in a few days.
    Thank you I can post more code if needed, but I don't think there is any more GTK relevant code in the project.
    Edit: I kind of solved this case, since I made the NewProject window as a dialoge, so it's fine for now. However, if somebody have a general solution, it would be nice
    Last edited by Hakon (2012-06-22 20:53:42)

  • Windows AIR application hang

    Hi.
    We've been testeing out our app on a few machines.  It uses some native code, so it was exported as an exe installer from flash builder.  We've installed it on a handful of machines successfully, but ran into a problem today.  The installer hangs and doesn't come back.  Below is the Install.log from the hang:
    [2011-05-31:19:49:56] Bootstrapper begin (Win:version 2.0.2.12610)
    [2011-05-31:19:49:57] Installed runtime located (2.6.0.19140)
    [2011-05-31:19:49:57] Launching application installer: "Adobe AIR Application Installer.exe" "C:\Users\SUDHIR~1\LOCALS~1\Temp\AIR637.tmp\Secure Documents"
    [2011-05-31:19:49:58] Application Installer begin with version 2.6.0.19140 on Windows 7 x86
    [2011-05-31:19:49:58] Commandline is: "C:\Users\SUDHIR~1\LOCALS~1\Temp\AIR637.tmp\Secure Documents"
    [2011-05-31:19:49:58] Installed runtime (2.6.0.19140) located at C:\Program Files\Common Files\Adobe AIR
    [2011-05-31:19:49:59] Validating app in folder C:\Users\SUDHIR~1\LOCALS~1\Temp\AIR637.tmp\Secure Documents
    [2011-05-31:19:50:01] Application signature verified [2011-05-31:19:50:01] Unpackaging/validation complete
    [2011-05-31:19:50:01] No app located for appID 'SecureDocuments' and pubID ''
    and it stays here forever.
    Here is the next line that should happen (taken from a machine where the installer completed successfully)
    [2011-05-31:09:15:30] Starting app installation to C:\Program Files. Installing app SecureDocuments version 0.80 using the source file at file:///C:/Users/TYSONG~1/AppData/Local/Temp/AIRCCB4.tmp/Secure%20Documents
    So it appears that the installer isn't really even starting.  We also tried installing and uninstalling air 2.6 before running the installer.  No go.
    Any ideas?
    Thanks much.

    Forgot to mention that when running in win 2000, it seems that there are many exceptions caught by ODP (probably) and are not propagated to my code.
    I know this because we are using perfmon to monitor the number of exceptions.

  • Unattended install of a .air applications - how to

    I have a Adobe Air application ( .air) that I need to install across multiple machines.
    Is there anyway to do a unattended install?
    This would be on Mac OS Based computers and I have access to Apple Remote Desktop so I can copy and start the installer application on each machine, but right now it stops at the security screen like the one shown below and I have to visit each computer to complete.
    Thank you
    Mark

    Firefox Profiles - Where Firefox stores your bookmarks, passwords and other user data
    Profile Backup and Restore
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    More about Profile
    *https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
    *https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_Manager

  • Popup parenting issues in multi window

    Hello folks,
    I have a multi-window AIR application - there is one base
    application window, but we currently hide that and use mx:Window
    for all of our application windows. The application allows you to
    open new windows to enable easy drag and drop between different
    areas of content in the app. We use the addPopup method to display
    a custom editor control when working a specific content item. That
    means that you could have multiple windows open and each one
    displaying it's own popup to edit an item that the user if viewing
    in the window. 60% or so of the time, the popups work fine and
    parent to the proper window, but the other 40% of the time, the
    popup will parent to a different window. (I can post a link to a
    screencast demonstrating the behavior).
    The custom editor class has the following method, this is
    called to bring up the editor window. We cache these editors,
    following the advice for memory management by Sean Christmann and
    others.
    public function showOnView(view:UIComponent, mobj:*):void {
    PopUpManager.addPopUp(this, view as DisplayObject, true);
    PopUpManager.centerPopUp(this);
    callLater(_finishShowOnView, [view, mobj]);
    The _finishShowOnView method makes sure the instance of the
    editor is pointing to right model object. None of that touches the
    parent of the popup though.
    Anyone have any thoughts?
    - Brian

    Popup describe is case-sensitiveI haven't had a case sensitivity problem with the pop-up describe - where it works, it works if the name in the code is in either upper or lower case (I am assuming the actual object name is uppercase). However, it still doesn't work properly for objects owned by another user - it only finds something owner by another user if the current user has a private synonym with the same name. Even then describing the synonym name pops up the table details and describing the table with owner prefix pops up the synonym details.
    Ctrl+up-arrow or Ctrl+down-arrow to replace the editor contents from the history is great, but there is no ability to change the shortcut in the accelerators preferenceI agree with the frustration of not being able to change the Ctrl+Up/Down short cuts, but we will have to wait until they can improve it.
    The SQL Worksheet window frequently loses it's syntax coloring ...I haven't had problems with that
    There is no preference setting to control the starting point in the file system for File/Open or File/Save As...The File Open does remember the last four (?) directories that you have opened files from as short cuts, but being able to force it to open a specific directory by default would be good. The preference that Raghu mentioned is the directory where it looks for scripts when running them, rather than opening a file.
    Explore Directory from the Files tab tree doesn't seem to start from where you try to "explore"Like Raghu, I don't know what you mean by Explore Directory
    theFurryOne

  • How to Add Input Values into a XML in Flex AIR Application

    I need a help, now I am developing a flex windows AIR application, in this I am displaying data using a xml file,
    I have some input fields in my application,if the application user filled the input field and press submit button, the inputs
    Should be stored in that xml. How can I do this using flex, can you  anyone please provide me a sample file with tutorial.
    Thanks in advance
    Vasanth,
    Chennai

    You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
    If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
    Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
    function fillin(s1, s2, s3, sep) {
      // Concatenate 3 strings with separators where needed
      // convert passed strings to a string value
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      // assign a numeric value for presence of a given string(s)
      var test = 0; // no passed strings
      if (s1 != "") test += 1; // s1 has a value
      if (s2 != "") test += 2; // s2 has a value
      if (s3 != "") test += 4; // s3 has a value
      // return appropriate combination based on passed strings
      if (test == 0) return ""; // no stings passed
      if (test == 1) return s1; // s1 only
      if (test == 2) return s2; // s2 only
      if (test == 3) return s1 + sep + s2; // s1 and s2
      if (test == 4) return s3; // s3 only
      if (test == 5) return s1 + sep + s3; // s1 and s3
      if (test == 6) return s2 + sep + s3; // s2 and s3
      if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3

  • How can I write my Adobe AIR application tracing lines into a log file

    I Have a question about log files for AIR application
    How can I make my application writing all tracing and exceptions into a log file?

    I think if you pubish a -debug SWF it will log to flashlog.txt

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to embed icon MAc dmg file in air application while in windows its working fine

    how to embed icon in mac os dmg file ..while in windows i ha set in air application .xml file in <icon> tag and its working..so to embed icon for MAc OS

    solution ::
    add this code in windows app of AIR
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationComplete="init()" layout="absolute" xmlns:local="*">
    <mx:VBox>
    <mx:Label text="Jay Mahadev" fontSize="32" />
    </mx:VBox>
    <mx:Script>
    <![CDATA[
    private function init():void
    if(NativeApplication.supportsDockIcon){ 
    var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,undock);
    //dockIcon.menu = createIconMenu();
    else if (NativeApplication.supportsSystemTrayIcon){ 
    var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;sysTrayIcon.tooltip =
    "Stopwatch";sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
    //sysTrayIcon.menu = createIconMenu();
    public function undock(event:Event = null):void{stage.nativeWindow.visible =
    true;NativeApplication.nativeApplication.icon.bitmaps = [];
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    and also in windowapplication.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
     <icon>
    <image128x128>/icons/128x128.png</image128x128>
    <image48x48>/icons/48x48.png</image48x48>
    <image32x32>/icons/32x32.png</image32x32>
    <image16x16>/icons/16x16.png</image16x16>
    </icon>
    </application>
    Reference Link :::
    http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html

  • How to Call a AIR application from Flex Application

    Hi,
        I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
    I need to Call this AIR(Desktop application) from my Flex Application.... i.e
    I am using a link button to send a event using Script and Forward that Desktop application  from Flex Screen
    But it doesnot load that (Desktop application)  in Screen. Only Balnk screen is loaded from path
    Here is the code
    AIR(Desktop application)
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
    <mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
    POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
    fault="faultHandler(event)"
    >  
    </mx:HTTPService> 
    <mx:Script>
    <![CDATA[
    import mx.events.FileEvent; 
    import mx.rpc.events.ResultEvent; 
    import mx.rpc.events.FaultEvent; 
    import mx.utils.ObjectUtil;  
    import mx.controls.Alert;
    private  
    var openFile:File = new File() 
    private  
    function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
    openFile.addEventListener(Event.OPEN, load);
    openFile.browse();
    private  
    function load():void{Alert.show(
    "load"); 
    var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png"); 
    //var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf"); 
    var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
    private  
    function faultHandler(event:FaultEvent):void { 
    //Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
     private  
    function pathresult(event:ResultEvent):void{Alert.show(
    "res") 
    //Alert.show(ObjectUtil.toString(event.result));}private  
    function onOpenFileComplete(event:Event):void{ 
    //mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!"); 
    var pPath = event.target.nativePath; 
    var parameters:Object = {FlexActionType:"PATH",path:pPath};  
    // Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
    //Alert.show("Passed.."+parameters);}
    ]]>
    </mx:Script>
    <mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/> 
    Here is Mxml Code for Flex Application
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert; 
    private function Upload():void{ 
    // CursorManager.setBusyCursor();  
    //var url:String = "HomeAction.do?method=onLoad"; 
    //var url:String = "assets/Air.swf"; 
    var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
    "_self"); 
    // CursorManager.removeBusyCursor(); }
    ]]>
    </mx:Script>
    <mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
    In this code i forward using s url to Open tat  Desktop application but a blank screen appears with out the proper output...
    Please Help me in this to forward AIR from Flex Screen..
    Thanks in Advance
    With Regards
    Gopinath.A
    Software Developer
    First Internet Systems Pvt. Ltd.,
    Chennai

    try this
    http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
    regards
    Leonardo França
    Adobe Certified Expert Flex 3 with AIR
    Adobe Certified Expert Rich Internet Application Specialist v1.0
    Adobe Certified Expert Flash CS3 Professional
    Certified Professional Adobe Flex 2 Developer
    Adobe Certified Professional Flash MX 2004 Developer
    http://www.leonardofranca.com
    http://twitter/leofederal
    Manager AUGDF - Adobe User Group do Distrito Federal
    http://www.augdf.com.br
    http://twitter/augdf

  • How to call java application in Windows NT environment?

    I have a JDBC application running against oracle database on NT server. There is another non-java application need to call my java application. The programs that non-java program can call are .exe, .dll, and .bat files. I wrote a Dos script and save it as .bat file. Every time this .bat file was called, the dos screen will be shown. Anything I can do to let Dos screen not shown, or anything I can do to wrap my java classes into an .exe file? Thanks in advance.

    If your tool can run a .exe and supply arguments, why not simply invoke "javaw <jvm-args> <class> <class-args>"?

  • Flash player 11.6.602.168 fails to identify installed air application. How this should be fixed?

    Ours is simple application with flash loaded on web identifies air application installed or not. If installed, files will be downloaded through air application.
    Action script code uses http://airdownload.adobe.com/air/browserapi/air.swf to idetify air app installed or not clients desktop
    Today upgraged to 11.6.602.168 flash player, _air.getApplicationVersion(appId, pubId, versionDetectCallback) version detect callback always returns null.
    How this should be fixed

    Os windows 7, Firefox 19 and Safari 5.0 fails to work.
    Chrome 24 works fine
    Here is the code snippet
    public function LaunchAirApplication()
                                  var _loader:Loader = new Loader();
                                  var loaderContext:LoaderContext = new LoaderContext();
                                  loaderContext.applicationDomain = ApplicationDomain.currentDomain;
                                  _loader.contentLoaderInfo.addEventListener(Event.INIT, onInit);
                                  _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
                                  _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
                                  _loader.load(new URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"), loaderContext);
                         * This function identifies air after loading from standard site and gets application version
                         * @param - event: Event object
                        private function  onInit(event:Event):void{
                                  _air = event.target.content;
                                  if (_air.getStatus() == 'installed'){
                                            _air.getApplicationVersion(appId, pubId, versionDetectCallback);
                                  else{
                                            ExternalInterface.call("airAppInstalled", 0, null);
                         * This function detects air app is already installed or not
                         * @param - version: version of air app
                        private function versionDetectCallback(version:String):void{
                                  if (version==null){
                                            ExternalInterface.call("airAppInstalled", 0, version);
                                  else{
                                            ExternalInterface.call("airAppInstalled", 1, version);
                        private function onComplete(event:Event):void{
    I will report the bug in bugbase.adobe.com. A quick help is appreciated as our customers are affected because of this.

  • How to call a servlet in new window without toolbar from OA page

    How to call a servlet in new window without toolbar from a OA page?Please provide sample code

    I have tried with the way suggested in Mukul's blog using javascript in Destination URI property.
    I tried to open a OA Page and from which forwarded it to a servlet..
    It is showing the error:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

Maybe you are looking for

  • How to use ODBC SQLDriverConnect() without using tnsnames.ora file

    I have an ODBC application that connects to an Oracle 10g database. Currently, my SQLDriverConnect() function call uses the following connection string: DRIVER={Oracle in OraClient10g_home1}; DBQ=MyDB.world; DBA=W; UID=foo; PWD=bar This requires an e

  • No dynamic LOV in a PopUP column?

    Hi, </br></br> I've a named LOV-query for a column of the detail report on a master-detail-form. </br></br> the column is displayed as Popup LOV (named LOV) with that query: </br></br></br> IF :P306_KAT = 'KUNDE' THEN RETURN IF :P306_KAT = 'KUNDE' TH

  • How can I send Apple my Ideas and founded Bugs?

    The Question is in the Subject ;)

  • Query regarding Fieldcatlog

    Hi experts.. i have query on oo alv list display. if one of output field satisfy a certain condition then the particular records are read only at the time of  list display  other wise the recorde are editable..... how can i  get this application.. he

  • What Is the CI Filter Browser Widget in Dashboard?

    I never noticed it there before till now and don't understand anything that is on it. Can someone tell what it is.