AndroidManifest.xml.cmake 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. <!-- Allow access to the camera -->
  30. <uses-permission android:name="android.permission.CAMERA" />
  31. <uses-feature android:name="android.hardware.camera" />
  32. <application
  33. android:allowBackup="true"
  34. android:icon="@mipmap/sdl-test"
  35. android:roundIcon="@mipmap/sdl-test_round"
  36. android:label="@string/label"
  37. android:supportsRtl="true"
  38. android:hardwareAccelerated="true"
  39. tools:targetApi="31">
  40. <activity
  41. android:name="@[email protected]"
  42. android:exported="true"
  43. android:label="@string/label"
  44. android:alwaysRetainTaskState="true"
  45. android:launchMode="singleInstance"
  46. android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
  47. android:preferMinimalPostProcessing="true"
  48. android:screenOrientation="fullSensor">
  49. <intent-filter>
  50. <action android:name="android.intent.action.MAIN" />
  51. <category android:name="android.intent.category.LAUNCHER" />
  52. </intent-filter>
  53. <intent-filter>
  54. <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
  55. </intent-filter>
  56. <meta-data
  57. android:name="android.app.shortcuts"
  58. android:resource="@xml/shortcuts" />
  59. </activity>
  60. <activity
  61. android:name="@[email protected]"
  62. android:exported="false"
  63. android:label="@string/label">
  64. </activity>
  65. </application>
  66. </manifest>