<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/4.0">
	
	<!-- only difference from application_ios is extensions are missing -->
	
	<id>com.sarahnorthway.rebuild3</id>
	<versionNumber>0.53</versionNumber>
	<supportedProfiles>extendedDesktop</supportedProfiles>
	<supportedLanguages>en</supportedLanguages>
	<filename>Rebuild3</filename>
	
	<name>Rebuild: Gangs of Deadsville</name>
	<description>Turn-based strategy set in the zombie apocalypse. Gather survivors and manage resources while you rebuild civilization one building at a time.</description>
	<copyright>Copyright 2011-2013 Sarah Northway</copyright>
	
	<!--
	AIR options:
	http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
	
	AIR mobile options:
	http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html
	
	Android manifest documentation:
	http://developer.android.com/guide/topics/manifest/manifest-intro.html
	
	<colorDepth>16bit</colorDepth> prevents stage3d issues on some phones, see:
		http://forum.starling-framework.org/topic/any-android-device
		
	<manifestAdditions><![CDATA[
			<manifest android:installLocation="auto">
				<uses-permission android:name="android.permission.INTERNET"/>
				<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
				<supports-screens android:smallScreens="false" />
			</manifest>
		]]></manifestAdditions>
		
	<uses-sdk android:minSdkVersion="11" />
		to exclude older phones, 11 is Honeycomb Android 3.0,
		higher than sarah's nexus one can go
		
	-->
	<android>
		<colorDepth>16bit</colorDepth>
		<manifestAdditions><![CDATA[
			<manifest android:installLocation="auto">
				<!-- to make the menu button appear... make min=11(3.0) to exclude older phones -->
				<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />
				<!-- for logging to google analytics - is that all? -->
				<uses-permission android:name="android.permission.INTERNET"/>
				<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
				<supports-screens android:smallScreens="false" />
			</manifest>
		]]></manifestAdditions>
	</android>
		
	<!--
	https://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html
	AIR will also require armv7 and opengles-2 which require ios 4+ and
	3gs, 4, 4s, touch 3, 4, iPad 1, 2
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>gyroscope</string> requires ipad2+/iphone4+
		<string>gamekit</string> requires game center ios 4+
		<string>still-camera</string> Requiring a camera means iPad 2 only
	</array>
	-->
    <iPhone>
        <InfoAdditions><![CDATA[
			<key>UIStatusBarStyle</key>
			<string>UIStatusBarStyleBlackOpaque</string>
			<key>UIRequiresPersistentWiFi</key>
			<string>NO</string>
			<key>UIPrerenderedIcon</key>
			<true/>
			<key>UIApplicationExitsOnSuspend</key>
			<true/>
			
			<key>UIDeviceFamily</key>
			<array>
				<!-- iPhone support -->
				<string>1</string>
				<!-- iPad support -->
				<string>2</string>
			</array>
			
			<!--
			https://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html
			AIR will also require armv7 and opengles-2 which require ios 4+ and
			3gs, 4, 4s, touch 3, 4, iPad 1, 2
			<key>UIRequiredDeviceCapabilities</key>
			<array>
				<string>gamekit</string> requires game center ios 4+
				<string>still-camera</string> Requiring a camera means iPad 2 only
			</array>
			-->
        ]]></InfoAdditions>
		<!-- retina mode: requestedDisplayResolution standard, the default, or high. -->
		<requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
	
	<!--
		<visible>true</visible>
		<systemChrome>standard</systemChrome>
		<transparent>false</transparent>
	-->
	
	<initialWindow>
		<title>Rebuild 3</title>
		<content>Rebuild3.swf</content>
		
		<!-- these worked for exe
		
		<systemChrome>standard</systemChrome>
		<transparent>false</transparent>
		<visible>true</visible>
		<minimizable>true</minimizable>
		<maximizable>true</maximizable>
		<resizable>true</resizable>
		<renderMode>direct</renderMode>
		
		-->
		
		<systemChrome>standard</systemChrome>
		<transparent>false</transparent>
		<visible>true</visible>
		<minimizable>true</minimizable>
		<maximizable>true</maximizable>
		<resizable>true</resizable>
		<renderMode>direct</renderMode>
		
		<fullScreen>true</fullScreen>
		<autoOrients>false</autoOrients>
		<aspectRatio>landscape</aspectRatio>
		
		<!-- The title of the main window. Optional. -->
		<!-- <title></title> -->

		<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
		<!-- <systemChrome></systemChrome> -->

		<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
		<!-- <transparent></transparent> -->

		<!-- Whether the window is initially visible. Optional. Default false. -->
		<!-- <visible></visible> -->

		<!-- Whether the user can minimize the window. Optional. Default true. -->
		<!-- <minimizable></minimizable> -->

		<!-- Whether the user can maximize the window. Optional. Default true. -->
		<!-- <maximizable></maximizable> -->

		<!-- Whether the user can resize the window. Optional. Default true. -->
		<!-- <resizable></resizable> -->

		<!-- The window's initial width in pixels. Optional. -->
		<!-- <width></width> -->

		<!-- The window's initial height in pixels. Optional. -->
		<!-- <height></height> -->

		<!-- The window's initial x position. Optional. -->
		<!-- <x></x> -->

		<!-- The window's initial y position. Optional. -->
		<!-- <y></y> -->

		<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
		<!-- <minSize></minSize> -->

		<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
		<!-- <maxSize></maxSize> -->

        <!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
        <!-- <aspectRatio></aspectRatio> -->

        <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
        <!-- <autoOrients></autoOrients> -->

        <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
        <!-- <fullScreen></fullScreen> -->

        <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
        <!-- <renderMode></renderMode> -->

        <!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers.  Optional.  Default false. -->
        <!-- <depthAndStencil></depthAndStencil> -->

		<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
		<!-- <softKeyboardBehavior></softKeyboardBehavior> -->

	</initialWindow>
	
	<icon>
		<image48x48>icons/icon_48.png</image48x48>
		<image57x57>icons/icon_57.png</image57x57>
		<image72x72>icons/icon_72.png</image72x72>
		<image114x114>icons/icon_114.png</image114x114>
		<image512x512>icons/icon_512.png</image512x512>
	</icon>
	
	<!--
	AIR options:
	http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
	
	AIR mobile options:
	http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html
	
	Android manifest documentation:
	http://developer.android.com/guide/topics/manifest/manifest-intro.html
	-->
</application>