diff options
Diffstat (limited to 'contrib/SDL-3.2.8/android-project/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | contrib/SDL-3.2.8/android-project/app/src/main/AndroidManifest.xml | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/android-project/app/src/main/AndroidManifest.xml b/contrib/SDL-3.2.8/android-project/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..f3a7cd5 --- /dev/null +++ b/contrib/SDL-3.2.8/android-project/app/src/main/AndroidManifest.xml | |||
| @@ -0,0 +1,107 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
| 3 | android:versionCode="1" | ||
| 4 | android:versionName="1.0" | ||
| 5 | android:installLocation="auto"> | ||
| 6 | |||
| 7 | <!-- OpenGL ES 2.0 --> | ||
| 8 | <uses-feature android:glEsVersion="0x00020000" /> | ||
| 9 | |||
| 10 | <!-- Touchscreen support --> | ||
| 11 | <uses-feature | ||
| 12 | android:name="android.hardware.touchscreen" | ||
| 13 | android:required="false" /> | ||
| 14 | |||
| 15 | <!-- Game controller support --> | ||
| 16 | <uses-feature | ||
| 17 | android:name="android.hardware.bluetooth" | ||
| 18 | android:required="false" /> | ||
| 19 | <uses-feature | ||
| 20 | android:name="android.hardware.gamepad" | ||
| 21 | android:required="false" /> | ||
| 22 | <uses-feature | ||
| 23 | android:name="android.hardware.usb.host" | ||
| 24 | android:required="false" /> | ||
| 25 | |||
| 26 | <!-- External mouse input events --> | ||
| 27 | <uses-feature | ||
| 28 | android:name="android.hardware.type.pc" | ||
| 29 | android:required="false" /> | ||
| 30 | |||
| 31 | <!-- Audio recording support --> | ||
| 32 | <!-- if you want to record audio, uncomment this. --> | ||
| 33 | <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> --> | ||
| 34 | <!-- <uses-feature | ||
| 35 | android:name="android.hardware.microphone" | ||
| 36 | android:required="false" /> --> | ||
| 37 | |||
| 38 | <!-- Camera support --> | ||
| 39 | <!-- if you want to record video, uncomment this. --> | ||
| 40 | <!-- | ||
| 41 | <uses-permission android:name="android.permission.CAMERA" /> | ||
| 42 | <uses-feature android:name="android.hardware.camera" /> | ||
| 43 | --> | ||
| 44 | |||
| 45 | <!-- Allow downloading to the external storage on Android 5.1 and older --> | ||
| 46 | <!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> --> | ||
| 47 | |||
| 48 | <!-- Allow access to Bluetooth devices --> | ||
| 49 | <!-- Currently this is just for Steam Controller support and requires setting SDL_HINT_JOYSTICK_HIDAPI_STEAM --> | ||
| 50 | <!-- <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" /> --> | ||
| 51 | <!-- <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> --> | ||
| 52 | |||
| 53 | <!-- Allow access to the vibrator --> | ||
| 54 | <uses-permission android:name="android.permission.VIBRATE" /> | ||
| 55 | |||
| 56 | <!-- Allow access to Internet --> | ||
| 57 | <!-- if you want to connect to the network or internet, uncomment this. --> | ||
| 58 | <!-- | ||
| 59 | <uses-permission android:name="android.permission.INTERNET" /> | ||
| 60 | --> | ||
| 61 | |||
| 62 | <!-- Create a Java class extending SDLActivity and place it in a | ||
| 63 | directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java | ||
| 64 | |||
| 65 | then replace "SDLActivity" with the name of your class (e.g. "MyGame") | ||
| 66 | in the XML below. | ||
| 67 | |||
| 68 | An example Java class can be found in README-android.md | ||
| 69 | --> | ||
| 70 | <application android:label="@string/app_name" | ||
| 71 | android:icon="@mipmap/ic_launcher" | ||
| 72 | android:allowBackup="true" | ||
| 73 | android:theme="@style/AppTheme" | ||
| 74 | android:hardwareAccelerated="true" > | ||
| 75 | |||
| 76 | <!-- Example of setting SDL hints from AndroidManifest.xml: | ||
| 77 | <meta-data android:name="SDL_ENV.SDL_ANDROID_TRAP_BACK_BUTTON" android:value="0"/> | ||
| 78 | --> | ||
| 79 | |||
| 80 | <activity android:name="SDLActivity" | ||
| 81 | android:label="@string/app_name" | ||
| 82 | android:alwaysRetainTaskState="true" | ||
| 83 | android:launchMode="singleInstance" | ||
| 84 | android:configChanges="layoutDirection|locale|grammaticalGender|fontScale|fontWeightAdjustment|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation" | ||
| 85 | android:preferMinimalPostProcessing="true" | ||
| 86 | android:exported="true" | ||
| 87 | > | ||
| 88 | <intent-filter> | ||
| 89 | <action android:name="android.intent.action.MAIN" /> | ||
| 90 | <category android:name="android.intent.category.LAUNCHER" /> | ||
| 91 | </intent-filter> | ||
| 92 | <!-- Let Android know that we can handle some USB devices and should receive this event --> | ||
| 93 | <intent-filter> | ||
| 94 | <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> | ||
| 95 | </intent-filter> | ||
| 96 | <!-- Drop file event --> | ||
| 97 | <!-- | ||
| 98 | <intent-filter> | ||
| 99 | <action android:name="android.intent.action.VIEW" /> | ||
| 100 | <category android:name="android.intent.category.DEFAULT" /> | ||
| 101 | <data android:mimeType="*/*" /> | ||
| 102 | </intent-filter> | ||
| 103 | --> | ||
| 104 | </activity> | ||
| 105 | </application> | ||
| 106 | |||
| 107 | </manifest> | ||
