<p>As the title says, is there a way to run the same Adobe AIR app more than once?  I have a little widget I wrote that shows thumbnails from a couple of photo streams, and I'd like to fix it so I can look at more than  one stream at a time.  Thanks!</p>

[{'answer_id': 40086, 'author': 'Grey Panther', 'author_id': 1265, 'author_profile': 'https://Stackoverflow.com/users/1265', 'pm_score': 3, 'selected': True, 'text': '<p>It seems that this is not possible. From the <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=app_launch_1.html" rel="nofollow noreferrer">documentation</a>:</p>\n\n<blockquote>\n  <p>Only one instance of an AIR application is started. When an already running application is invoked again, AIR dispatches a new invoke event to the running instance.</p>\n</blockquote>\n\n<p>It also gives a possible workaround:</p>\n\n<blockquote>\n  <p>It is the responsibility of an AIR to respond to an invoke event and take the appropriate action (such as opening a new document window).</p>\n</blockquote>\n\n<p>There is <a href="http://bugs.adobe.com/jira/browse/SDK-12915" rel="nofollow noreferrer">already a bug</a> related to this on the bugtracker, but it is marked closed with no explicit resolution given...</p>\n'}, {'answer_id': 40091, 'author': 'Todd Rowan', 'author_id': 3473, 'author_profile': 'https://Stackoverflow.com/users/3473', 'pm_score': 2, 'selected': False, 'text': '<p>No, it can\'t. AIR only allows one running instance of any app with the same ID defined in the app.xml file.</p>\n\n<pre><code>&lt;application xmlns="http://ns.adobe.com/air/application/1.0"&gt;\n &lt;id&gt;ApplicationID&lt;/id&gt;\n</code></pre>\n\n<p>To work around this you\'ll either have to create individually ID\'d apps for each stream, or create a master app with child windows for each stream. </p>\n'}, {'answer_id': 40097, 'author': 'Steve T', 'author_id': 415, 'author_profile': 'https://Stackoverflow.com/users/415', 'pm_score': 0, 'selected': False, 'text': '<p>Last time I checked, an AIR app can only run a single instance.  You could open multiple windows, but your app itself would have to support that.  I hope they change this soon.</p>\n'}, {'answer_id': 68339, 'author': 'mikechambers', 'author_id': 10232, 'author_profile': 'https://Stackoverflow.com/users/10232', 'pm_score': 2, 'selected': False, 'text': '<p>No. AIR applications can only have one instance running at a time. If you need multiple apps running, the solution is to instantiate one app, with the app view in a separate native window (one for each "app instance").</p>\n\n<p>The reason it is marked closed is because it is not considered a bug, ut rather a design / implimentation choice made by the air team.</p>\n\n<p>Hope that helps...</p>\n\n<p>mike chambers</p>\n\n<p>mesh@adobe.com</p>\n'}, {'answer_id': 1364862, 'author': 'Lilith River', 'author_id': 166893, 'author_profile': 'https://Stackoverflow.com/users/166893', 'pm_score': 0, 'selected': False, 'text': "<p>There are good reasons for this design, although it requires application developers to follow proper OOP techniques... In OS X, you can't have multiple instances of an app open. Instead, all applications are expected to handle multiple documents properly. This is very nice from the user's perspective, even if it means more work for developers.</p>\n"}, {'answer_id': 4692002, 'author': 'Chris Deely', 'author_id': 575774, 'author_profile': 'https://Stackoverflow.com/users/575774', 'pm_score': 1, 'selected': False, 'text': '<p>I have written 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 stored data should be independent.</p>\n\n<p>You can download the application and source code from GitHub: <a href="https://github.com/chrisdeely/AirAppDuplicator" rel="nofollow">https://github.com/chrisdeely/AirAppDuplicator</a></p>\n\n<p>Contact me on Twitter @chrisdeely with any questions</p>\n'}, {'answer_id': 15026992, 'author': 'Agung Dewandaru', 'author_id': 1362200, 'author_profile': 'https://Stackoverflow.com/users/1362200', 'pm_score': 0, 'selected': False, 'text': '<p>Yes it can, but the context is on different logged in user, so it may not be the answer to your problem. So the same AIR app can run two or more instances, each on different logged in user.</p>\n'}, {'answer_id': 34955176, 'author': 'user5828094', 'author_id': 5828094, 'author_profile': 'https://Stackoverflow.com/users/5828094', 'pm_score': 1, 'selected': False, 'text': '<p>You can create a copy of the app in a different folder, then change the <code>&lt;id&gt;</code> element in the application.xml</p>\n\n<p>For instance, if the first application has:</p>\n\n<pre><code>&lt;id&gt;ApplicationID&lt;/id&gt;\n</code></pre>\n\n<p>You can alter the second instance to say:</p>\n\n<pre><code>&lt;id&gt;ApplicationID2&lt;/id&gt;\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/40026', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4252/']