summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake')
-rw-r--r--src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake b/src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake
new file mode 100644
index 0000000..06d87af
--- /dev/null
+++ b/src/contrib/SDL-3.2.20/test/android/cmake/AndroidManifest.xml.cmake
@@ -0,0 +1,74 @@
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 package="@ANDROID_MANIFEST_PACKAGE@">
5
6 <!-- OpenGL ES 2.0 -->
7 <uses-feature android:glEsVersion="0x00020000" />
8
9 <!-- Touchscreen support -->
10 <uses-feature
11 android:name="android.hardware.touchscreen"
12 android:required="false" />
13
14 <!-- Game controller support -->
15 <uses-feature
16 android:name="android.hardware.bluetooth"
17 android:required="false" />
18 <uses-feature
19 android:name="android.hardware.gamepad"
20 android:required="false" />
21 <uses-feature
22 android:name="android.hardware.usb.host"
23 android:required="false" />
24
25 <!-- External mouse input events -->
26 <uses-feature
27 android:name="android.hardware.type.pc"
28 android:required="false" />
29
30 <!-- Allow access to the vibrator -->
31 <uses-permission android:name="android.permission.VIBRATE" />
32
33 <!-- Allow access to the microphone -->
34 <uses-permission android:name="android.permission.RECORD_AUDIO" />
35
36 <!-- Allow access to the camera -->
37 <uses-permission android:name="android.permission.CAMERA" />
38 <uses-feature android:name="android.hardware.camera" />
39
40 <application
41 android:allowBackup="true"
42 android:icon="@mipmap/sdl-test"
43 android:roundIcon="@mipmap/sdl-test_round"
44 android:label="@string/label"
45 android:supportsRtl="true"
46 android:theme="@style/AppTheme"
47 android:hardwareAccelerated="true">
48 <activity
49 android:name="@ANDROID_MANIFEST_PACKAGE@.SDLTestActivity"
50 android:exported="true"
51 android:label="@string/label"
52 android:alwaysRetainTaskState="true"
53 android:launchMode="singleInstance"
54 android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
55 android:preferMinimalPostProcessing="true"
56 android:screenOrientation="fullSensor">
57 <intent-filter>
58 <action android:name="android.intent.action.MAIN" />
59 <category android:name="android.intent.category.LAUNCHER" />
60 </intent-filter>
61 <intent-filter>
62 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
63 </intent-filter>
64 <meta-data
65 android:name="android.app.shortcuts"
66 android:resource="@xml/shortcuts" />
67 </activity>
68 <activity
69 android:name="@ANDROID_MANIFEST_PACKAGE@.SDLEntryTestActivity"
70 android:exported="false"
71 android:label="@string/label">
72 </activity>
73 </application>
74</manifest>