Can I run the same Adobe AIR application more than once?

As the name says, is there a way to run the same Adobe AIR application more than once? I have a small widget that I wrote that shows thumbnails from several streams of photos, and I would like to fix this so that I can look at more than one stream at a time. Thanks!

+4
source share
8 answers

This seems to be impossible. From the documentation :

Only one instance of an AIR application is launched. When an already running application is called again, AIR dispatches a new invoke event to the executable instance.

It also gives a possible workaround:

AIR's response to the invoke event and taking appropriate action (such as opening a new document window) is the responsibility of AIR.

There is already an error related to this in bugtracker, but it is marked as closed, without explicit permission ...

+2
source

No, he can not. AIR allows only one launch instance of any application with the same identifier as defined in the app.xml file.

<application xmlns="http://ns.adobe.com/air/application/1.0"> <id>ApplicationID</id> 

To get around this, you will either have to create individual applications for each thread, or create a main application with child windows for each thread.

+2
source

No. AIR applications can only run one instance at a time. If you need several running applications, the solution is to create an instance of one application with the application in a separate window (one for each instance of the application).

The reason it is marked closed is because it is not considered a mistake, but rather a design / implementation choice made by the aviation team.

Hope this helps ...

microphone cameras

mesh@adobe.com

+2
source

I wrote a utility that will allow you to copy an existing AIR application and run multiple copies side by side. Each copy will have its own working directories, so the settings and saved data must be independent.

You can download the application and source code from GitHub: https://github.com/chrisdeely/AirAppDuplicator

Contact me on Twitter @chrisdeely with any questions.

+1
source

You can create a copy of the application in another folder and then change the <id> element in application.xml

For example, if the first application has:

 <id>ApplicationID</id> 

You can change the second instance to say:

 <id>ApplicationID2</id> 
+1
source

The last time I checked, an AIR application can only run one instance. You can open several windows, but your application will need to support this. I hope they change soon.

0
source

There are good reasons for this design, although it requires application developers to follow proper OOP methods ... In OS X, you cannot open multiple instances of an application. Instead, all applications should process multiple documents properly. It is very pleasant from the point of view of the user, even if it means a lot of work for developers.

0
source

Yes, it can, but the context is on another registered user, so maybe this is not the answer to your problem. Thus, the same AIR application can run two or more instances, each of which has different registered users.

0
source

Source: https://habr.com/ru/post/1276521/


All Articles