AndroidManifest.xml.cmake 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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:theme="@style/AppTheme"
  39. android:enableOnBackInvokedCallback="false"
  40. android:hardwareAccelerated="true">
  41. <activity
  42. android:name="@[email protected]"
  43. android:exported="true"
  44. android:label="@string/label"
  45. android:alwaysRetainTaskState="true"
  46. android:launchMode="singleInstance"
  47. android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
  48. android:preferMinimalPostProcessing="true"
  49. android:screenOrientation="fullSensor">
  50. <intent-filter>
  51. <action android:name="android.intent.action.MAIN" />
  52. <category android:name="android.intent.category.LAUNCHER" />
  53. </intent-filter>
  54. <intent-filter>
  55. <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
  56. </intent-filter>
  57. <meta-data
  58. android:name="android.app.shortcuts"
  59. android:resource="@xml/shortcuts" />
  60. </activity>
  61. <activity
  62. android:name="@[email protected]"
  63. android:exported="false"
  64. android:label="@string/label">
  65. </activity>
  66. </application>
  67. </manifest>