1
0

AndroidManifest.xml.cmake 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. <!-- OpenGL ES 2.0 -->
  6. <uses-feature android:glEsVersion="0x00020000" />
  7. <!-- Touchscreen support -->
  8. <uses-feature
  9. android:name="android.hardware.touchscreen"
  10. android:required="false" />
  11. <!-- Game controller support -->
  12. <uses-feature
  13. android:name="android.hardware.bluetooth"
  14. android:required="false" />
  15. <uses-feature
  16. android:name="android.hardware.gamepad"
  17. android:required="false" />
  18. <uses-feature
  19. android:name="android.hardware.usb.host"
  20. android:required="false" />
  21. <!-- External mouse input events -->
  22. <uses-feature
  23. android:name="android.hardware.type.pc"
  24. android:required="false" />
  25. <!-- Allow access to the vibrator -->
  26. <uses-permission android:name="android.permission.VIBRATE" />
  27. <!-- Allow access to the microphone -->
  28. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  29. <application
  30. android:allowBackup="true"
  31. android:icon="@mipmap/sdl-test"
  32. android:roundIcon="@mipmap/sdl-test_round"
  33. android:label="@string/label"
  34. android:supportsRtl="true"
  35. android:hardwareAccelerated="true"
  36. tools:targetApi="31">
  37. <activity
  38. android:name="@ANDROID_MANIFEST_PACKAGE@.SDLTestActivity"
  39. android:exported="true"
  40. android:label="@string/label"
  41. android:alwaysRetainTaskState="true"
  42. android:launchMode="singleInstance"
  43. android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
  44. android:preferMinimalPostProcessing="true"
  45. android:screenOrientation="fullSensor">
  46. <intent-filter>
  47. <action android:name="android.intent.action.MAIN" />
  48. <category android:name="android.intent.category.LAUNCHER" />
  49. </intent-filter>
  50. <intent-filter>
  51. <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
  52. </intent-filter>
  53. <meta-data
  54. android:name="android.app.shortcuts"
  55. android:resource="@xml/shortcuts" />
  56. </activity>
  57. <activity
  58. android:name="@ANDROID_MANIFEST_PACKAGE@.SDLEntryTestActivity"
  59. android:exported="false"
  60. android:label="@string/label">
  61. </activity>
  62. </application>
  63. </manifest>