2015-06-21 15:33:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-10-23 22:23:43 +00:00
|
|
|
<!-- Replace com.test.game with the identifier of your game below, e.g.
|
2015-06-21 15:33:46 +00:00
|
|
|
com.gamemaker.game
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-10-23 22:23:43 +00:00
|
|
|
package="org.libsdl.app"
|
|
|
|
android:versionCode="1"
|
|
|
|
android:versionName="1.0"
|
|
|
|
android:installLocation="auto">
|
2015-06-21 15:33:46 +00:00
|
|
|
|
|
|
|
<!-- OpenGL ES 2.0 -->
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" />
|
|
|
|
|
2018-06-06 16:42:12 +00:00
|
|
|
<!-- Touchscreen support -->
|
|
|
|
<uses-feature
|
|
|
|
android:name="android.hardware.touchscreen"
|
|
|
|
android:required="false" />
|
|
|
|
|
|
|
|
<!-- Game controller support -->
|
2020-02-15 02:21:58 +00:00
|
|
|
<uses-feature
|
|
|
|
android:name="android.hardware.bluetooth"
|
|
|
|
android:required="false" />
|
2018-06-06 16:42:12 +00:00
|
|
|
<uses-feature
|
|
|
|
android:name="android.hardware.gamepad"
|
|
|
|
android:required="false" />
|
2020-02-15 02:21:58 +00:00
|
|
|
<uses-feature
|
|
|
|
android:name="android.hardware.usb.host"
|
|
|
|
android:required="false" />
|
2018-06-06 16:42:12 +00:00
|
|
|
|
|
|
|
<!-- External mouse input events -->
|
|
|
|
<uses-feature
|
|
|
|
android:name="android.hardware.type.pc"
|
|
|
|
android:required="false" />
|
|
|
|
|
2020-02-15 02:21:58 +00:00
|
|
|
<!-- Audio recording support -->
|
|
|
|
<!-- if you want to capture audio, uncomment this. -->
|
|
|
|
<!-- <uses-feature
|
|
|
|
android:name="android.hardware.microphone"
|
|
|
|
android:required="false" /> -->
|
|
|
|
|
2015-06-21 15:33:46 +00:00
|
|
|
<!-- Allow writing to external storage -->
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2020-02-15 02:21:58 +00:00
|
|
|
<!-- Allow access to Bluetooth devices -->
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
2017-08-12 15:15:09 +00:00
|
|
|
<!-- Allow access to the vibrator -->
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2015-06-21 15:33:46 +00:00
|
|
|
|
2016-08-12 02:04:49 +00:00
|
|
|
<!-- if you want to capture audio, uncomment this. -->
|
|
|
|
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
|
|
|
|
|
2015-06-21 15:33:46 +00:00
|
|
|
<!-- Create a Java class extending SDLActivity and place it in a
|
2017-10-23 22:23:43 +00:00
|
|
|
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
|
|
|
|
|
2015-06-21 15:33:46 +00:00
|
|
|
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
|
|
|
|
in the XML below.
|
|
|
|
|
2016-04-25 20:17:38 +00:00
|
|
|
An example Java class can be found in README-android.md
|
2015-06-21 15:33:46 +00:00
|
|
|
-->
|
|
|
|
<application android:label="@string/app_name"
|
2017-10-23 22:23:43 +00:00
|
|
|
android:icon="@mipmap/ic_launcher"
|
|
|
|
android:allowBackup="true"
|
|
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
|
|
android:hardwareAccelerated="true" >
|
2017-11-02 01:40:11 +00:00
|
|
|
|
|
|
|
<!-- Example of setting SDL hints from AndroidManifest.xml:
|
|
|
|
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
|
|
|
|
-->
|
|
|
|
|
2015-06-21 15:33:46 +00:00
|
|
|
<activity android:name="SDLActivity"
|
2017-10-23 22:23:43 +00:00
|
|
|
android:label="@string/app_name"
|
2019-01-07 16:06:50 +00:00
|
|
|
android:alwaysRetainTaskState="true"
|
|
|
|
android:launchMode="singleInstance"
|
2019-04-24 19:53:15 +00:00
|
|
|
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
|
2017-10-23 22:23:43 +00:00
|
|
|
>
|
2015-06-21 15:33:46 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
<!-- Drop file event -->
|
|
|
|
<!--
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="*/*" />
|
|
|
|
</intent-filter>
|
|
|
|
-->
|
|
|
|
</activity>
|
|
|
|
</application>
|
|
|
|
|
2017-10-23 22:23:43 +00:00
|
|
|
</manifest>
|