Is it possible to make an air application maximizable/non-maximizable programmatically at runtime?

Is it possible to make an air application maximizable/non-maximizable programmatically at runtime?

Sort of. Technically it's a NativeWindow which is maximizable or not, not the app itself. A NativeWindow is created as maximizable or not via NativeWindowInitOptions, and it can't be changed after it's created. Now, when you setup the "default content" window options with AIR, the runtime is basically creating the first window for you as a convenience, with those settings. However, there's nothing stopping you from making your initial content nothing more than a hidden window which will create a new window as maximizable or not. At this point, it would not be hard to re-create your main window with different maximizable values. (This is also how I implement multiple-instance/window apps, since only 1 AIR app can be running at a time.)
Hope that helps!
-Aaron

Similar Messages

  • Not able to make an air application in dreamweaver

    Hi,
    I have recently downloaded the air extension for dreamweaver
    and have installed the runtime also. Whenever I try to make an
    application.xml file, it throws up a dialog box stating that
    "already an air application is running or you are previewing an
    application. Close the application."
    What am I supposed to do?
    Any help will be appreciated.
    Gaurav

    Hi Gaurav -
    Sorry for the delayed response; I just noticed this post.
    Can you tell me a bit more?
    1) Is this still happening?
    2) What version of the extension are you running?
    3) What are the exact steps that lead to this error dialog?
    (What do
    mean by "making an application.xml file" --- are you just
    opening the
    AIR Application Settings dialog, entering some details, and
    then hitting
    the Save button?)
    It looks like the error message is actually misleading, but
    I'm trying
    to figure out what the real problem is.
    - Vic

  • Is it possible to install multiple AIR applications from single install?

    I've been asked to find a way to install multiple air applications in one install. Is this possible, or am I going to have to use a 3rd party tool like InstallShield?

    I guess it's possible to create a meta-installer, which fires up the individual installers using the command line. It's not the ideal way to do this, but it might work.
    Sample code to use the command line from within Flex:
    <fx:Script>
    if(NativeProcess.isSupported)
        var file:File = File.desktopDirectory;
        file = file.resolvePath("secondAirProgram.air");
        var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
        nativeProcessStartupInfo.executable = file;
        var process:NativeProcess = new NativeProcess();
        process.start(nativeProcessStartupInfo);
    </fx:Script>

  • ERM5.3 - Is it possible to make Sub Process & Project/Release non-mandatory

    Hi All.
    I would like to know whether it is possible to make Sub Process & Project/Release in Create Role Definition section non-mandatory fields?
    If so where would I be able to change the config?
    Thank you.
    Mike Hannie

    Dear Mike Hannie,
    It is not possible. Project/Release ID and Subprocess are required fields.
    The Project or Release ID field allows you to track and filter roles by project or release based on your organizationu2018s requirements.
    When you create a role in Enterprise Role Management, the business process you assign to the role is one of the roleu2018s defining attributes and determines which subprocesses you can assign to that role. During the role creation process, the subprocesses available for you to select as role attributes are determined by the business process to which the subprocess is mapped.
    Condition group:
    A condition group is defined from a set of role attributes (such as a business process, subprocess, functional area, role type, or role name) and is based on role values and conditions. After you create a condition group, the system applies it to a role creation process to override the default role creation process when the criteria from the condition group are met. You can apply multiple condition groups in one role creation process, but you cannot associate multiple processes to one condition group.
    Regards,
    Naveen

  • Is it possible to make an Autostart application in Java?

    Hi,
    I have some stuff that I would like to burn on a CD and I thought that it would be very nice if I could put an autostart application on the same CD which would start as soon as I put this CD in CD-drive. I dont know whether this can be done in Java. I am using Excelsior Jet so I would make this as an usual autostart.exe application.
    Thanx

    The only thing you have to do, is to put the JRE on the CD as well. Say in sub-directory jre (you can copy the jre folder from your JDK installation)
    I'm not sure how the autostart stuff works, but as far as I can remember it's just the name of an exe. So you could put someting like
    jre\javaw.exe -jar MyApplication.jar
    into the autostart definition

  • Is it possible to make a ocr application in xcode 5 for ios 7?

    If so where do i go? What do i do? Are there any downloadable projects for xcode 5 ios 7? Thanks

    I want ocr in my latest project. Im a begginer so if you could help me with how to install/open an openocr source i would apreaciate that alot

  • AIR application licence management

    Hello everyone,
    Is it possible that make a AIR application can only run on one specific computer? Say, eh~ you can not copy the program files to another computer and use it finely~~
    Thanks a lot.

    Not as a feature of AIR.  You could code up your own system to approve usage.

  • 2 AIR applications directly communicating with each other in real time

    Building a installation that requires 2 different kiosks to communicate with each other. I'd like to use Adobe AIR to create the individual applications.
    My question is
    Is it possible for 2 separate AIR applications to DIRECTLY communicate with each other in real time, without any server to act as mediator?
    Ideally the only data that would be transferred would be json based.

    Not sure whether this helps; http://www.adobe.com/devnet/air/flex/articles/creating_socket_server.html

  • Can you call external exe file from Flex Air Application like notepad.exe

    Im trying to make my Air Application open an External exe file anyone know if this can be done?

    Hi,
    If you want to share code between a flex app and AIR, you
    could isolate the common bits as a swc file and link to the swc
    from both the flex and air project.
    Also, you could have the flex mxml file and air mxml file
    load the same module (which has the same stuff as your original
    flex application) using ModuleLoader.
    Or, you could even load the swf of your flex application
    using SWFLoader in your air mxml file.
    Basically, check out creating flex libraries, modules and
    runtime loading of swfs.

  • Air application loading flex applications(no Air) with flex linked as RSL.

    Hello
    I am trying to make an AIR application which loads number of flex applications(no AIR). The subapplications are using the Flex SDK as a RSL, and each of them can use different version of the SDK.
    The problem is that the subapplicationsare trying to load the needed SDK from local filesystem, which they are not permited.
    public class CrossDomainRSLItem extends RSLItem
         override public function load(progressHandler:Function,
                                      completeHandler:Function,
                                      ioErrorHandler:Function,
                                      securityErrorHandler:Function,
                                      rslErrorHandler:Function):void

    Hi again.
    Is there any way to reliably edit the trust files with AIR application?
    As I see it we have to make the user to add our folder to the trusted locations, or to use some application which can find and write in the FlashPlayerTrust (native for the specific OS installer for example.). (even finding this directory with an AIR application seems not 100% reliable).
    Thanks in advance for you help.
    Ps: Right now I am trying to patch this.
    I compiled some sub-applications using custom preloader class(the controlling class, not the UI), where I removed the RSL loading. After that in an ApplicationDomain I load all the RSLs with loaders. After that I load the sub-application in the same domain. On paper this should work, but the sub-application can't find the classes from the RSLs(the first exeption is that there is no definition for spark.components.Application)

  • Run Adobe AIR application as frame in other windows app.

    Is there possibility to intagrate Adobe AIR application to the windows application as ActiveX, or another way, and will be such functionality provided in future?

    Not AIR, but you can, I believe, integrate the Flash Player itself in this way.

  • Automatic startup of AIR application on Windows startup

    Does AIR provide any mechanism to make my AIR application
    startup automatically when Windows starts up?

    Yes. See this topic in the AIR documentation:
    For Flex developers:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
    For Flash developers:
    http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000 .html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
    For HTML developers:
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5

  • Can you wrap a Muse export in Adobe Air to make a desktop application?

    Hello,
    I was just wondering if it is possible to wrap a Muse HTML folder (whole export) in Adobe Air to make a desktop application? I have managed to wrap the business catalyst URL that Muse gives you temporarily and made a desktop application. As this is temporary is it possible to wrap the entire project (HTML)?
    I'm very new to this so i hope this all makes sense.
    Thanks in advance,
    SPolly

    You are not wasting your time. It can be done...
    In order to wrap C++ for use by C, you must write wrapper functions declared with 'extern "C"' linkage for every C++ method you intend to call directly from C. This must be done using a C++ compiler. Once linked into a new library, any C exectuable or C library should be able to link this new library and call the wrapper functions you have declared 'extern "C"'.
    If you still need more help, I would advise you to post in a C++ language forum perhaps. Best of luck, not that you should need it though... -Ralph

  • Is it possible to make connection for the VC application the SQL Server

    hi
    I have requirement like, We have some data available in SQL server as central repositoty. My client want to make the Anylatics application like showing graphs in VC based on the data available in SQL server.
    My question. Is there any possiblity to make the connection the sql server by creating some system object using some JDBC connection Like that.
    What is the possibility.
    can u any body tell what is the work around need to be for this requirement. Whether it is possible or not.
    Regards
    vijay

    Hi Vijay,
    In your other thread, I have given the link to the following doc which will help you to in configuring the JDBC Connector.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10
    That was the first step.
    In the second step, you need to create a JDBC System in the portal. Go through the following doc which explains how to create BI JDBC system for VC. All you need to change is that on Page 10, choose JDBC system instead of BI JDBC system, and do the necessary configurations.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    As rightly said by Marcel, you can use stored procedures as well as SQL statements. As far as stored procedures are concerned, all you need to do is go to Enterprise Manager, and create procedures in your database in the same way by which you create new tables and users (Refer my article). Then you can use these procedures in your Visual Composer provided you have properly created the JDBC system in portal properly.
    Also have a look at the following doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6339e7d4-0a01-0010-1c98-db00e52e989a
    Bye
    Ankur
    Do reward points for helpful as well as solved answers!!

  • Is it possible to packaging Air application for Mac AppStore with Air 3?

    Is it possible to packaging Air application for Mac AppStore with Air 3 ?

    Anyone from adobe? Anyone?
    Also I was wondering what could prevent the window from going
    away when user uses windows "show desktop" command, or perhaps
    there is a way to restore it right away?
    thanks.

Maybe you are looking for

  • IDOC to File Senario - Mapin error

    Hi,    I am trying IDOC to File Senario using XI. I am stuck while message mapping. I need to map IDOC : MATMAS.MATMAS01 (Material numbaer and Matrial description ) to File. I have imported IDOC : MATMAS.MATMAS01 in IR. Created target Data type/ mess

  • Some Questions on BPM

    Hi Master, I Attended the one Interview...I have some Questions, Please Reply ASAP.. <b>What is Pattern</b>? Why we are using with Real time Example. Thanks & Regards, SReddy

  • Multiple R/3 Systems and Design

    We have 3 R/3 Systems. System 1, System 2, System 3 and they are all sending PO's to our Vendors. How should I design the Above R/3 systems in SLD and also in Repository(Should I need to create one Software Component and underneath should I need to c

  • How to create a line without using execute action method.

    Hi All, I want to create a line whose weight and co-ordinate are given to me. I am using ActionDescriptor and execute action method to do this. Here is my code:     var idcontentLayer = stringIDToTypeID( "contentLayer" );     var idStrt = charIDToTyp

  • Sharing photos from computer

    just changed my wirles router and nowd I'm having trouble sharing photos from my pc