bna/Demo1/AndroidManifest.xml

90 lines
4.0 KiB
XML
Raw Normal View History

2020-11-15 11:14:42 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!-- specify the lowercase namespace of the project
as the package name in the manifest element -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.spaceflint.bluebonnet.xnademo1">
<!-- API 18, GLES 3.0 -->
2021-02-13 23:22:56 +02:00
<!-- note that if testing in the Android emulator, you may need to add
the following line in your ~/.android/advancedFeatures.ini file:
GLESDynamicVersion=on
!-->
2020-11-15 11:14:42 +02:00
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="29" />
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<!-- modify android:label to set the application name.
this name appears in the Settings / Apps listing -->
<application android:label="BNA_Demo1"
android:icon="@drawable/icon"
2021-02-13 23:22:56 +02:00
android:isGame="true"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
>
2020-11-15 11:14:42 +02:00
<!-- set android:screenOrientation if you need to lock orientation:
https://developer.android.com/guide/topics/manifest/activity-element#screen -->
<!-- modify android:label to set the activity name.
this is the name that appears below the app icon. -->
<activity android:name="microsoft.xna.framework.Activity"
android:label="BNA Demo1"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:immersive="true"
android:launchMode="singleTask"
2021-02-13 23:22:56 +02:00
android:maxAspectRatio="9"
2020-11-15 11:14:42 +02:00
>
2021-02-13 23:22:56 +02:00
<!-- the name of the main entrypoint class. if starts with a dot,
then it is appended to the namespace specifies in the package
attribute. the default is '.Program' -->
<meta-data android:name="BNA.main.class" android:value=".Program"/>
2020-11-15 11:14:42 +02:00
2021-02-13 23:22:56 +02:00
<!-- the log identifier for log messages printed via android.util.Log
by the app. the default is 'BNA_Game' -->
<meta-data android:name="BNA.log.tag" android:value="BNA_Demo1"/>
2020-11-15 11:14:42 +02:00
2021-02-13 23:22:56 +02:00
<!-- specifies whether to call glGetError() after every GL call.
non-zero value enables error checks, zero skips error checks.
this has a negative impact on performance, and is not recommended
in production builds. the default is '0' -->
<meta-data android:name="BNA.check.gl.errors" android:value="0"/>
2020-11-15 11:14:42 +02:00
2021-02-13 23:22:56 +02:00
<!-- specifies whether to disable screen timeout, if set to a non-zero
value. the default is '0' -->
<meta-data android:name="BNA.keep.screen.on" android:value="0"/>
<!-- specifies whether to enable full screen immersive mode, if set
to a non-zero value. the default is '0' -->
<meta-data android:name="BNA.immersive.mode" android:value="0"/>
<!-- specifies the key to signal, for one frame, when the back button
is pressed. if omitted or specified as zero, default handling of
the back button occurs, which typically stops the activity.
Escape = Microsoft.Xna.Framework.Input.Keys.Escape = 27.
Back = Microsoft.Xna.Framework.Input.Keys.Back = 8. -->
<meta-data android:name="BNA.back.key" android:value="0"/>
2020-11-15 11:14:42 +02:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2021-02-13 23:22:56 +02:00
<meta-data android:name="android.max_aspect" android:value="9" />
2020-11-15 11:14:42 +02:00
</application>
2021-02-13 23:22:56 +02:00
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
2020-11-15 11:14:42 +02:00
</manifest>