🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Replace com.test.game with the identifier of your game below, e.g.
  3. com.gamemaker.game
  4. -->
  5. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  6. package="org.libsdl.app"
  7. android:versionCode="1"
  8. android:versionName="1.0"
  9. android:installLocation="auto">
  10. <!-- OpenGL ES 2.0 -->
  11. <uses-feature android:glEsVersion="0x00020000" />
  12. <!-- Touchscreen support -->
  13. <uses-feature
  14. android:name="android.hardware.touchscreen"
  15. android:required="false" />
  16. <!-- Game controller support -->
  17. <uses-feature
  18. android:name="android.hardware.bluetooth"
  19. android:required="false" />
  20. <uses-feature
  21. android:name="android.hardware.gamepad"
  22. android:required="false" />
  23. <uses-feature
  24. android:name="android.hardware.usb.host"
  25. android:required="false" />
  26. <!-- External mouse input events -->
  27. <uses-feature
  28. android:name="android.hardware.type.pc"
  29. android:required="false" />
  30. <!-- Audio recording support -->
  31. <!-- if you want to capture audio, uncomment this. -->
  32. <!-- <uses-feature
  33. android:name="android.hardware.microphone"
  34. android:required="false" /> -->
  35. <!-- Allow writing to external storage -->
  36. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  37. <!-- Allow access to Bluetooth devices -->
  38. <uses-permission android:name="android.permission.BLUETOOTH" />
  39. <!-- Allow access to the vibrator -->
  40. <uses-permission android:name="android.permission.VIBRATE" />
  41. <!-- if you want to capture audio, uncomment this. -->
  42. <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
  43. <!-- Create a Java class extending SDLActivity and place it in a
  44. directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
  45. then replace "SDLActivity" with the name of your class (e.g. "MyGame")
  46. in the XML below.
  47. An example Java class can be found in README-android.md
  48. -->
  49. <application android:label="@string/app_name"
  50. android:icon="@mipmap/ic_launcher"
  51. android:allowBackup="true"
  52. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  53. android:hardwareAccelerated="true" >
  54. <!-- Example of setting SDL hints from AndroidManifest.xml:
  55. <meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
  56. -->
  57. <activity android:name="SDLActivity"
  58. android:label="@string/app_name"
  59. android:alwaysRetainTaskState="true"
  60. android:launchMode="singleInstance"
  61. android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
  62. >
  63. <intent-filter>
  64. <action android:name="android.intent.action.MAIN" />
  65. <category android:name="android.intent.category.LAUNCHER" />
  66. </intent-filter>
  67. <!-- Drop file event -->
  68. <!--
  69. <intent-filter>
  70. <action android:name="android.intent.action.VIEW" />
  71. <category android:name="android.intent.category.DEFAULT" />
  72. <data android:mimeType="*/*" />
  73. </intent-filter>
  74. -->
  75. </activity>
  76. </application>
  77. </manifest>