<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Restart an Adobe AIR Application with Code!</title>
	<atom:link href="http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/</link>
	<description>Creativity , Interactivity and Technology</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:19:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: SnakeMedia</title>
		<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/comment-page-1/#comment-51201</link>
		<dc:creator>SnakeMedia</dc:creator>
		<pubDate>Thu, 19 Jan 2012 11:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://creative-geeks.com/blog/?p=637#comment-51201</guid>
		<description>Ehh? That is an error :( What is a fuck now? Adobe Air can not work on Adobe Air 3.1 :( I will reboot this Adobe Air App :(

Look at my picture :(
&lt;a href=&quot;http://www.funpic.de/photos/5/2/2/6/9/596225_eff4525f55_e.jpg&quot; rel=&quot;nofollow&quot;&gt;My picture Adobe Air reboot - Error&lt;/a&gt;

and i have been coded this with Flex 4.6 and Adobe Air 3.1:
&lt;code&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:WindowedApplication xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot; 
					   xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot; 
					   xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot;&gt;
	&lt;fx:Declarations&gt;
		&lt;!-- Platzieren Sie nichtvisuelle Elemente (z. B. Dienste, Wertobjekte) hier --&gt;
	&lt;/fx:Declarations&gt;
	
	&lt;fx:Script&gt;
		&lt;![CDATA[
			
			import sm.flash.desktop.NativeApplication.Reboot;
			
			protected function restartClick():void
			{
				sm.flash.desktop.NativeApplication.Reboot();
			}
			
		]]&gt;
	&lt;/fx:Script&gt;
	&lt;s:Button x=&quot;10&quot; y=&quot;10&quot; label=&quot;Neustarten&quot; click=&quot;restartClick()&quot;/&gt;
&lt;/s:WindowedApplication&gt;
&lt;/code&gt;

and I have been created this library for Reboot Class:
&lt;code&gt;/**
 * 
 * Reboot of Air App
 * 
 */
package sm.flash.desktop.NativeApplication
{
	import adobe.utils.ProductManager;
	
	import flash.desktop.NativeApplication;
	
	import spark.components.Application;
	import spark.components.WindowedApplication;

	public function Reboot():void
	{
		var app:WindowedApplication = WindowedApplication(Application);
		
		var mgr:ProductManager = new ProductManager(&quot;airappinstaller&quot;);
		mgr.launch(&quot;-launch &quot; + NativeApplication.nativeApplication.applicationID + &quot; &quot; + NativeApplication.nativeApplication.publisherID);
		NativeApplication.nativeApplication.exit();
	}
}&lt;/code&gt;

And app-xml:
&lt;code&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;no&quot;?&gt;
&lt;application xmlns=&quot;http://ns.adobe.com/air/application/3.1&quot;&gt;

&lt;!-- Adobe AIR Application Descriptor File Template.

	Specifies parameters for identifying, installing, and launching AIR applications.

	xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.1
			The last segment of the namespace specifies the version 
			of the AIR runtime required for this application to run.
			
	minimumPatchLevel - The minimum patch level of the AIR runtime required to run 
			the application. Optional.
--&gt;

	&lt;!-- A universally unique application identifier. Must be unique across all AIR applications.
	Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. --&gt;
	&lt;id&gt;Test.Restart&lt;/id&gt;

	&lt;!-- Used as the filename for the application. Required. --&gt;
	&lt;filename&gt;Test_Restart&lt;/filename&gt;

	&lt;!-- The name that is displayed in the AIR application installer. 
	May have multiple values for each language. See samples or xsd schema file. Optional. --&gt;
	&lt;name&gt;Test_Restart&lt;/name&gt;
	
	&lt;!-- A string value of the format &lt;0-999&gt;.&lt;0-999&gt;.&lt;0-999&gt; that represents application version which can be used to check for application upgrade. 
	Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
	An updated version of application must have a versionNumber value higher than the previous version. Required for namespace &gt;= 2.5 . --&gt;
	&lt;versionNumber&gt;0.0.0&lt;/versionNumber&gt;
		         
	&lt;!-- A string value (such as &quot;v1&quot;, &quot;2.5&quot;, or &quot;Alpha 1&quot;) that represents the version of the application, as it should be shown to users. Optional. --&gt;
	&lt;!-- &lt;versionLabel&gt;&lt;/versionLabel&gt; --&gt;

	&lt;!-- Description, displayed in the AIR application installer.
	May have multiple values for each language. See samples or xsd schema file. Optional. --&gt;
	&lt;!-- &lt;description&gt;&lt;/description&gt; --&gt;

	&lt;!-- Copyright information. Optional --&gt;
	&lt;!-- &lt;copyright&gt;&lt;/copyright&gt; --&gt;

	&lt;!-- Publisher ID. Used if you&#039;re updating an application created prior to 1.5.3 --&gt;
	&lt;!-- &lt;publisherID&gt;&lt;/publisherID&gt; --&gt;

	&lt;!-- Settings for the application&#039;s initial window. Required. --&gt;
	&lt;initialWindow&gt;
		&lt;!-- The main SWF or HTML file of the application. Required. --&gt;
		&lt;!-- Note: In Flash Builder, the SWF reference is set automatically. --&gt;
		&lt;content&gt;[Dieser Wert wird von Flash Builder in der app.xml-Ausgabedatei überschrieben]&lt;/content&gt;
		
		&lt;!-- The title of the main window. Optional. --&gt;
		&lt;!-- &lt;title&gt;&lt;/title&gt; --&gt;

		&lt;!-- The type of system chrome to use (either &quot;standard&quot; or &quot;none&quot;). Optional. Default standard. --&gt;
		&lt;!-- &lt;systemChrome&gt;&lt;/systemChrome&gt; --&gt;

		&lt;!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. --&gt;
		&lt;!-- &lt;transparent&gt;&lt;/transparent&gt; --&gt;

		&lt;!-- Whether the window is initially visible. Optional. Default false. --&gt;
		&lt;!-- &lt;visible&gt;&lt;/visible&gt; --&gt;

		&lt;!-- Whether the user can minimize the window. Optional. Default true. --&gt;
		&lt;!-- &lt;minimizable&gt;&lt;/minimizable&gt; --&gt;

		&lt;!-- Whether the user can maximize the window. Optional. Default true. --&gt;
		&lt;!-- &lt;maximizable&gt;&lt;/maximizable&gt; --&gt;

		&lt;!-- Whether the user can resize the window. Optional. Default true. --&gt;
		&lt;!-- &lt;resizable&gt;&lt;/resizable&gt; --&gt;

		&lt;!-- The window&#039;s initial width in pixels. Optional. --&gt;
		&lt;!-- &lt;width&gt;&lt;/width&gt; --&gt;

		&lt;!-- The window&#039;s initial height in pixels. Optional. --&gt;
		&lt;!-- &lt;height&gt;&lt;/height&gt; --&gt;

		&lt;!-- The window&#039;s initial x position. Optional. --&gt;
		&lt;!-- &lt;x&gt;&lt;/x&gt; --&gt;

		&lt;!-- The window&#039;s initial y position. Optional. --&gt;
		&lt;!-- &lt;y&gt;&lt;/y&gt; --&gt;

		&lt;!-- The window&#039;s minimum size, specified as a width/height pair in pixels, such as &quot;400 200&quot;. Optional. --&gt;
		&lt;!-- &lt;minSize&gt;&lt;/minSize&gt; --&gt;

		&lt;!-- The window&#039;s initial maximum size, specified as a width/height pair in pixels, such as &quot;1600 1200&quot;. Optional. --&gt;
		&lt;!-- &lt;maxSize&gt;&lt;/maxSize&gt; --&gt;

        &lt;!-- The initial aspect ratio of the app when launched (either &quot;portrait&quot; or &quot;landscape&quot;). Optional. Mobile only. Default is the natural orientation of the device --&gt;

        &lt;!-- &lt;aspectRatio&gt;&lt;/aspectRatio&gt; --&gt;

        &lt;!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false --&gt;

        &lt;!-- &lt;autoOrients&gt;&lt;/autoOrients&gt; --&gt;

        &lt;!-- Whether the app launches in full screen. Optional. Mobile only. Default false --&gt;

        &lt;!-- &lt;fullScreen&gt;&lt;/fullScreen&gt; --&gt;

        &lt;!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto --&gt;

        &lt;!-- &lt;renderMode&gt;&lt;/renderMode&gt; --&gt;

		&lt;!-- Whether or not to pan when a soft keyboard is raised or lowered (either &quot;pan&quot; or &quot;none&quot;).  Optional.  Defaults &quot;pan.&quot; --&gt;
		&lt;!-- &lt;softKeyboardBehavior&gt;&lt;/softKeyboardBehavior&gt; --&gt;
	&lt;autoOrients&gt;false&lt;/autoOrients&gt;
        &lt;fullScreen&gt;false&lt;/fullScreen&gt;
        &lt;visible&gt;false&lt;/visible&gt;
    &lt;/initialWindow&gt;

	&lt;!-- We recommend omitting the supportedProfiles element, --&gt;
	&lt;!-- which in turn permits your application to be deployed to all --&gt;
	&lt;!-- devices supported by AIR. If you wish to restrict deployment --&gt;
	&lt;!-- (i.e., to only mobile devices) then add this element and list --&gt;
	&lt;!-- only the profiles which your application does support. --&gt;
	&lt;!-- &lt;supportedProfiles&gt;desktop extendedDesktop mobileDevice extendedMobileDevice&lt;/supportedProfiles&gt; --&gt;

	&lt;!-- The subpath of the standard default installation location to use. Optional. --&gt;
	&lt;!-- &lt;installFolder&gt;&lt;/installFolder&gt; --&gt;

	&lt;!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. --&gt;
	&lt;!-- &lt;programMenuFolder&gt;&lt;/programMenuFolder&gt; --&gt;

	&lt;!-- The icon the system uses for the application. For at least one resolution,
	specify the path to a PNG file included in the AIR package. Optional. --&gt;
	&lt;!-- &lt;icon&gt;
		&lt;image16x16&gt;&lt;/image16x16&gt;
		&lt;image32x32&gt;&lt;/image32x32&gt;
		&lt;image36x36&gt;&lt;/image36x36&gt;
		&lt;image48x48&gt;&lt;/image48x48&gt;
		&lt;image57x57&gt;&lt;/image57x57&gt;
		&lt;image72x72&gt;&lt;/image72x72&gt;
		&lt;image114x114&gt;&lt;/image114x114&gt;
		&lt;image128x128&gt;&lt;/image128x128&gt;
	&lt;/icon&gt; --&gt;

	&lt;!-- Whether the application handles the update when a user double-clicks an update version
	of the AIR file (true), or the default AIR application installer handles the update (false).
	Optional. Default false. --&gt;
	&lt;!-- &lt;customUpdateUI&gt;&lt;/customUpdateUI&gt; --&gt;
	
	&lt;!-- Whether the application can be launched when the user clicks a link in a web browser.
	Optional. Default false. --&gt;
	&lt;allowBrowserInvocation&gt;true&lt;/allowBrowserInvocation&gt;

	&lt;!-- Listing of file types for which the application can register. Optional. --&gt;
	&lt;!-- &lt;fileTypes&gt; --&gt;

		&lt;!-- Defines one file type. Optional. --&gt;
		&lt;!-- &lt;fileType&gt; --&gt;

			&lt;!-- The name that the system displays for the registered file type. Required. --&gt;
			&lt;!-- &lt;name&gt;&lt;/name&gt; --&gt;

			&lt;!-- The extension to register. Required. --&gt;
			&lt;!-- &lt;extension&gt;&lt;/extension&gt; --&gt;
			
			&lt;!-- The description of the file type. Optional. --&gt;
			&lt;!-- &lt;description&gt;&lt;/description&gt; --&gt;
			
			&lt;!-- The MIME content type. --&gt;
			&lt;!-- &lt;contentType&gt;&lt;/contentType&gt; --&gt;
			
			&lt;!-- The icon to display for the file type. Optional. --&gt;
			&lt;!-- &lt;icon&gt;
				&lt;image16x16&gt;&lt;/image16x16&gt;
				&lt;image32x32&gt;&lt;/image32x32&gt;
				&lt;image48x48&gt;&lt;/image48x48&gt;
				&lt;image128x128&gt;&lt;/image128x128&gt;
			&lt;/icon&gt; --&gt;
			
		&lt;!-- &lt;/fileType&gt; --&gt;
	&lt;!-- &lt;/fileTypes&gt; --&gt;

    &lt;!-- iOS specific capabilities --&gt;
	&lt;!-- &lt;iPhone&gt; --&gt;
		&lt;!-- A list of plist key/value pairs to be added to the application Info.plist --&gt;
		&lt;!-- &lt;InfoAdditions&gt;
            &lt;![CDATA[
                &lt;key&gt;UIDeviceFamily&lt;/key&gt;
                &lt;array&gt;
                    &lt;string&gt;1&lt;/string&gt;
                    &lt;string&gt;2&lt;/string&gt;
                &lt;/array&gt;
                &lt;key&gt;UIStatusBarStyle&lt;/key&gt;
                &lt;string&gt;UIStatusBarStyleBlackOpaque&lt;/string&gt;
                &lt;key&gt;UIRequiresPersistentWiFi&lt;/key&gt;
                &lt;string&gt;YES&lt;/string&gt;
            ]]&gt;
        &lt;/InfoAdditions&gt; --&gt;
        &lt;!-- A list of plist key/value pairs to be added to the application Entitlements.plist --&gt;
		&lt;!-- &lt;Entitlements&gt;
            &lt;![CDATA[
                &lt;key&gt;keychain-access-groups&lt;/key&gt;
                &lt;array&gt;
                    &lt;string&gt;&lt;/string&gt;
                    &lt;string&gt;&lt;/string&gt;
                &lt;/array&gt;
            ]]&gt;
        &lt;/Entitlements&gt; --&gt;
	&lt;!-- Display Resolution for the app (either &quot;standard&quot; or &quot;high&quot;). Optional. Default &quot;standard&quot; --&gt;
	&lt;!-- &lt;requestedDisplayResolution&gt;&lt;/requestedDisplayResolution&gt; --&gt;
	&lt;!-- &lt;/iPhone&gt; --&gt;

	&lt;!-- Specify Android specific tags that get passed to AndroidManifest.xml file. --&gt;
    &lt;!--&lt;android&gt; --&gt;
    &lt;!--	&lt;manifestAdditions&gt;
		&lt;![CDATA[
			&lt;manifest android:installLocation=&quot;auto&quot;&gt;
				&lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;/&gt;
				&lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot;/&gt;
				&lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot;/&gt;
				&lt;uses-feature android:required=&quot;true&quot; android:name=&quot;android.hardware.touchscreen.multitouch&quot;/&gt;
				&lt;application android:enabled=&quot;true&quot;&gt;
					&lt;activity android:excludeFromRecents=&quot;false&quot;&gt;
						&lt;intent-filter&gt;
							&lt;action android:name=&quot;android.intent.action.MAIN&quot;/&gt;
							&lt;category android:name=&quot;android.intent.category.LAUNCHER&quot;/&gt;
						&lt;/intent-filter&gt;
					&lt;/activity&gt;
				&lt;/application&gt;
            &lt;/manifest&gt;
		]]&gt;
        &lt;/manifestAdditions&gt; --&gt;
	    &lt;!-- Color depth for the app (either &quot;32bit&quot; or &quot;16bit&quot;). Optional. Default 16bit before namespace 3.0, 32bit after --&gt;
        &lt;!-- &lt;colorDepth&gt;&lt;/colorDepth&gt; --&gt;
    &lt;!-- &lt;/android&gt; --&gt;
	&lt;!-- End of the schema for adding the android specific tags in AndroidManifest.xml file --&gt;

&lt;/application&gt;
&lt;/code&gt;

How do i fix this reboot :(

thanks for support and help :)</description>
		<content:encoded><![CDATA[<p>Ehh? That is an error <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  What is a fuck now? Adobe Air can not work on Adobe Air 3.1 <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I will reboot this Adobe Air App <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Look at my picture <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
<a href="http://www.funpic.de/photos/5/2/2/6/9/596225_eff4525f55_e.jpg" rel="nofollow">My picture Adobe Air reboot &#8211; Error</a></p>
<p>and i have been coded this with Flex 4.6 and Adobe Air 3.1:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br />
&lt;s:WindowedApplication xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot;&gt;<br />
&nbsp; &nbsp; &lt;fx:Declarations&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Platzieren Sie nichtvisuelle Elemente (z. B. Dienste, Wertobjekte) hier --&gt;<br />
&nbsp; &nbsp; &lt;/fx:Declarations&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;fx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; import sm.flash.desktop.NativeApplication.Reboot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected function restartClick():void<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sm.flash.desktop.NativeApplication.Reboot();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />
&nbsp; &nbsp; &lt;/fx:Script&gt;<br />
&nbsp; &nbsp; &lt;s:Button x=&quot;10&quot; y=&quot;10&quot; label=&quot;Neustarten&quot; click=&quot;restartClick()&quot;/&gt;<br />
&lt;/s:WindowedApplication&gt;</div></div>
<p>and I have been created this library for Reboot Class:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/**<br />
&nbsp;* <br />
&nbsp;* Reboot of Air App<br />
&nbsp;* <br />
&nbsp;*/<br />
package sm.flash.desktop.NativeApplication<br />
{<br />
&nbsp; &nbsp; import adobe.utils.ProductManager;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; import flash.desktop.NativeApplication;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; import spark.components.Application;<br />
&nbsp; &nbsp; import spark.components.WindowedApplication;<br />
<br />
&nbsp; &nbsp; public function Reboot():void<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; var app:WindowedApplication = WindowedApplication(Application);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; var mgr:ProductManager = new ProductManager(&quot;airappinstaller&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; mgr.launch(&quot;-launch &quot; + NativeApplication.nativeApplication.applicationID + &quot; &quot; + NativeApplication.nativeApplication.publisherID);<br />
&nbsp; &nbsp; &nbsp; &nbsp; NativeApplication.nativeApplication.exit();<br />
&nbsp; &nbsp; }<br />
}</div></div>
<p>And app-xml:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;no&quot;?&gt;<br />
&lt;application xmlns=&quot;http://ns.adobe.com/air/application/3.1&quot;&gt;<br />
<br />
&lt;!-- Adobe AIR Application Descriptor File Template.<br />
<br />
&nbsp; &nbsp; Specifies parameters for identifying, installing, and launching AIR applications.<br />
<br />
&nbsp; &nbsp; xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The last segment of the namespace specifies the version <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; of the AIR runtime required for this application to run.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; minimumPatchLevel - The minimum patch level of the AIR runtime required to run <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the application. Optional.<br />
--&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- A universally unique application identifier. Must be unique across all AIR applications.<br />
&nbsp; &nbsp; Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. --&gt;<br />
&nbsp; &nbsp; &lt;id&gt;Test.Restart&lt;/id&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Used as the filename for the application. Required. --&gt;<br />
&nbsp; &nbsp; &lt;filename&gt;Test_Restart&lt;/filename&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- The name that is displayed in the AIR application installer. <br />
&nbsp; &nbsp; May have multiple values for each language. See samples or xsd schema file. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;name&gt;Test_Restart&lt;/name&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;!-- A string value of the format &lt;0-999&gt;.&lt;0-999&gt;.&lt;0-999&gt; that represents application version which can be used to check for application upgrade. <br />
&nbsp; &nbsp; Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.<br />
&nbsp; &nbsp; An updated version of application must have a versionNumber value higher than the previous version. Required for namespace &gt;= 2.5 . --&gt;<br />
&nbsp; &nbsp; &lt;versionNumber&gt;0.0.0&lt;/versionNumber&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &lt;!-- A string value (such as &quot;v1&quot;, &quot;2.5&quot;, or &quot;Alpha 1&quot;) that represents the version of the application, as it should be shown to users. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;versionLabel&gt;&lt;/versionLabel&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Description, displayed in the AIR application installer.<br />
&nbsp; &nbsp; May have multiple values for each language. See samples or xsd schema file. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;description&gt;&lt;/description&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Copyright information. Optional --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;copyright&gt;&lt;/copyright&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;publisherID&gt;&lt;/publisherID&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Settings for the application's initial window. Required. --&gt;<br />
&nbsp; &nbsp; &lt;initialWindow&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The main SWF or HTML file of the application. Required. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Note: In Flash Builder, the SWF reference is set automatically. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;content&gt;[Dieser Wert wird von Flash Builder in der app.xml-Ausgabedatei überschrieben]&lt;/content&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The title of the main window. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;title&gt;&lt;/title&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The type of system chrome to use (either &quot;standard&quot; or &quot;none&quot;). Optional. Default standard. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;systemChrome&gt;&lt;/systemChrome&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;transparent&gt;&lt;/transparent&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the window is initially visible. Optional. Default false. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;visible&gt;&lt;/visible&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the user can minimize the window. Optional. Default true. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;minimizable&gt;&lt;/minimizable&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the user can maximize the window. Optional. Default true. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;maximizable&gt;&lt;/maximizable&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the user can resize the window. Optional. Default true. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;resizable&gt;&lt;/resizable&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's initial width in pixels. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;width&gt;&lt;/width&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's initial height in pixels. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;height&gt;&lt;/height&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's initial x position. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;x&gt;&lt;/x&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's initial y position. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;y&gt;&lt;/y&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's minimum size, specified as a width/height pair in pixels, such as &quot;400 200&quot;. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;minSize&gt;&lt;/minSize&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The window's initial maximum size, specified as a width/height pair in pixels, such as &quot;1600 1200&quot;. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;maxSize&gt;&lt;/maxSize&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The initial aspect ratio of the app when launched (either &quot;portrait&quot; or &quot;landscape&quot;). Optional. Mobile only. Default is the natural orientation of the device --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;aspectRatio&gt;&lt;/aspectRatio&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;autoOrients&gt;&lt;/autoOrients&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether the app launches in full screen. Optional. Mobile only. Default false --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;fullScreen&gt;&lt;/fullScreen&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;renderMode&gt;&lt;/renderMode&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Whether or not to pan when a soft keyboard is raised or lowered (either &quot;pan&quot; or &quot;none&quot;). &nbsp;Optional. &nbsp;Defaults &quot;pan.&quot; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;softKeyboardBehavior&gt;&lt;/softKeyboardBehavior&gt; --&gt;<br />
&nbsp; &nbsp; &lt;autoOrients&gt;false&lt;/autoOrients&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;fullScreen&gt;false&lt;/fullScreen&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;visible&gt;false&lt;/visible&gt;<br />
&nbsp; &nbsp; &lt;/initialWindow&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- We recommend omitting the supportedProfiles element, --&gt;<br />
&nbsp; &nbsp; &lt;!-- which in turn permits your application to be deployed to all --&gt;<br />
&nbsp; &nbsp; &lt;!-- devices supported by AIR. If you wish to restrict deployment --&gt;<br />
&nbsp; &nbsp; &lt;!-- (i.e., to only mobile devices) then add this element and list --&gt;<br />
&nbsp; &nbsp; &lt;!-- only the profiles which your application does support. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;supportedProfiles&gt;desktop extendedDesktop mobileDevice extendedMobileDevice&lt;/supportedProfiles&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- The subpath of the standard default installation location to use. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;installFolder&gt;&lt;/installFolder&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;programMenuFolder&gt;&lt;/programMenuFolder&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- The icon the system uses for the application. For at least one resolution,<br />
&nbsp; &nbsp; specify the path to a PNG file included in the AIR package. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;icon&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image16x16&gt;&lt;/image16x16&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image32x32&gt;&lt;/image32x32&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image36x36&gt;&lt;/image36x36&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image48x48&gt;&lt;/image48x48&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image57x57&gt;&lt;/image57x57&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image72x72&gt;&lt;/image72x72&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image114x114&gt;&lt;/image114x114&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;image128x128&gt;&lt;/image128x128&gt;<br />
&nbsp; &nbsp; &lt;/icon&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Whether the application handles the update when a user double-clicks an update version<br />
&nbsp; &nbsp; of the AIR file (true), or the default AIR application installer handles the update (false).<br />
&nbsp; &nbsp; Optional. Default false. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;customUpdateUI&gt;&lt;/customUpdateUI&gt; --&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;!-- Whether the application can be launched when the user clicks a link in a web browser.<br />
&nbsp; &nbsp; Optional. Default false. --&gt;<br />
&nbsp; &nbsp; &lt;allowBrowserInvocation&gt;true&lt;/allowBrowserInvocation&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Listing of file types for which the application can register. Optional. --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;fileTypes&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Defines one file type. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;fileType&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The name that the system displays for the registered file type. Required. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;name&gt;&lt;/name&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The extension to register. Required. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;extension&gt;&lt;/extension&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The description of the file type. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;description&gt;&lt;/description&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The MIME content type. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;contentType&gt;&lt;/contentType&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- The icon to display for the file type. Optional. --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;icon&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;image16x16&gt;&lt;/image16x16&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;image32x32&gt;&lt;/image32x32&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;image48x48&gt;&lt;/image48x48&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;image128x128&gt;&lt;/image128x128&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/icon&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;/fileType&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;/fileTypes&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- iOS specific capabilities --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;iPhone&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- A list of plist key/value pairs to be added to the application Info.plist --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;InfoAdditions&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;key&gt;UIDeviceFamily&lt;/key&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;array&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;1&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;2&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/array&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;key&gt;UIStatusBarStyle&lt;/key&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;UIStatusBarStyleBlackOpaque&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;key&gt;UIRequiresPersistentWiFi&lt;/key&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;YES&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/InfoAdditions&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- A list of plist key/value pairs to be added to the application Entitlements.plist --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;Entitlements&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;key&gt;keychain-access-groups&lt;/key&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;array&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;&lt;/string&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/array&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Entitlements&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!-- Display Resolution for the app (either &quot;standard&quot; or &quot;high&quot;). Optional. Default &quot;standard&quot; --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;requestedDisplayResolution&gt;&lt;/requestedDisplayResolution&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;/iPhone&gt; --&gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Specify Android specific tags that get passed to AndroidManifest.xml file. --&gt;<br />
&nbsp; &nbsp; &lt;!--&lt;android&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!--&nbsp; &nbsp; &lt;manifestAdditions&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;manifest android:installLocation=&quot;auto&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;uses-feature android:required=&quot;true&quot; android:name=&quot;android.hardware.touchscreen.multitouch&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;application android:enabled=&quot;true&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;activity android:excludeFromRecents=&quot;false&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;intent-filter&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action android:name=&quot;android.intent.action.MAIN&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/intent-filter&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/activity&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/application&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/manifest&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/manifestAdditions&gt; --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Color depth for the app (either &quot;32bit&quot; or &quot;16bit&quot;). Optional. Default 16bit before namespace 3.0, 32bit after --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;colorDepth&gt;&lt;/colorDepth&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!-- &lt;/android&gt; --&gt;<br />
&nbsp; &nbsp; &lt;!-- End of the schema for adding the android specific tags in AndroidManifest.xml file --&gt;<br />
<br />
&lt;/application&gt;</div></div>
<p>How do i fix this reboot <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>thanks for support and help <img src='http://creative-geeks.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlara</title>
		<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/comment-page-1/#comment-35285</link>
		<dc:creator>carlara</dc:creator>
		<pubDate>Tue, 23 Aug 2011 20:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://creative-geeks.com/blog/?p=637#comment-35285</guid>
		<description>same for me it works in both 10.6 and windows 7. hopefully it works on XP??</description>
		<content:encoded><![CDATA[<p>same for me it works in both 10.6 and windows 7. hopefully it works on XP??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cbrown</title>
		<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/comment-page-1/#comment-35131</link>
		<dc:creator>cbrown</dc:creator>
		<pubDate>Sun, 21 Aug 2011 19:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://creative-geeks.com/blog/?p=637#comment-35131</guid>
		<description>Works for me on both osx 10.6.8 and windows 7 with an air app from flash pro using the above code from Luke...

...UNLESS... an flvplayback component loads a video! After that, it will only close and not restart. I&#039;ve tried everything under the sun to destroy the video/component before the restart to no avail. Any suggestions are very appreciated, thanks.</description>
		<content:encoded><![CDATA[<p>Works for me on both osx 10.6.8 and windows 7 with an air app from flash pro using the above code from Luke&#8230;</p>
<p>&#8230;UNLESS&#8230; an flvplayback component loads a video! After that, it will only close and not restart. I&#8217;ve tried everything under the sun to destroy the video/component before the restart to no avail. Any suggestions are very appreciated, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shai Rosenfeld</title>
		<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/comment-page-1/#comment-19209</link>
		<dc:creator>Shai Rosenfeld</dc:creator>
		<pubDate>Sat, 19 Feb 2011 00:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://creative-geeks.com/blog/?p=637#comment-19209</guid>
		<description>This may be obvious to some, but it&#039;s important: 

Put this in the mxml/main of the application; it won&#039;t work if you use that block of code in an external actionscript custom class you create.</description>
		<content:encoded><![CDATA[<p>This may be obvious to some, but it&#8217;s important: </p>
<p>Put this in the mxml/main of the application; it won&#8217;t work if you use that block of code in an external actionscript custom class you create.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke McSorley</title>
		<link>http://creative-geeks.com/blog/2009/10/05/restart-an-adobe-air-application-with-code/comment-page-1/#comment-13130</link>
		<dc:creator>Luke McSorley</dc:creator>
		<pubDate>Fri, 12 Nov 2010 15:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://creative-geeks.com/blog/?p=637#comment-13130</guid>
		<description>Hi man, cheers for the code it worked a treat for me. I had to change it slightly for flash and thought it maybe useful for some people. Heres what i did.

the code is basicly the same, only dif is you wont have the &quot;mx.core.WindowedApplication&quot; libray to import. so instead do this:
&lt;code&gt;
var mgr:ProductManager = new ProductManager(&quot;airappinstaller&quot;);
mgr.launch(&quot;-launch &quot; + NativeApplication.nativeApplication.applicationID + &quot; &quot; + NativeApplication.nativeApplication.publisherID);
NativeApplication.nativeApplication.exit();
&lt;/code&gt;
you will need to include:
&lt;code&gt;
import flash.desktop.NativeApplication;
&lt;/code&gt;
in your imports.

Then look were your airfiles are being created and you will see a file called [&quot;name of your air file&quot;]-app.xml . open this and as mentiond before make sure that false is set to true:
&lt;code&gt;
&lt;allowBrowserInvocation&gt;true&lt;/allowBrowserInvocation&gt;
&lt;/code&gt;

Insert Code here

Insert Code here</description>
		<content:encoded><![CDATA[<p>Hi man, cheers for the code it worked a treat for me. I had to change it slightly for flash and thought it maybe useful for some people. Heres what i did.</p>
<p>the code is basicly the same, only dif is you wont have the &#8220;mx.core.WindowedApplication&#8221; libray to import. so instead do this:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">var mgr:ProductManager = new ProductManager(&quot;airappinstaller&quot;);<br />
mgr.launch(&quot;-launch &quot; + NativeApplication.nativeApplication.applicationID + &quot; &quot; + NativeApplication.nativeApplication.publisherID);<br />
NativeApplication.nativeApplication.exit();</div></div>
<p>you will need to include:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">import flash.desktop.NativeApplication;</div></div>
<p>in your imports.</p>
<p>Then look were your airfiles are being created and you will see a file called ["name of your air file"]-app.xml . open this and as mentiond before make sure that false is set to true:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;allowBrowserInvocation&gt;true&lt;/allowBrowserInvocation&gt;</div></div>
<p>Insert Code here</p>
<p>Insert Code here</p>
]]></content:encoded>
	</item>
</channel>
</rss>

