AndroidManifest.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <!-- Android 4.0.1 -->
  11. <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="16" />
  12. <!-- OpenGL ES 2.0 -->
  13. <uses-feature android:glEsVersion="0x00020000" />
  14. <!-- Allow writing to external storage -->
  15. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  16. <!-- Allow access to the vibrator -->
  17. <uses-permission android:name="android.permission.VIBRATE" />
  18. <!-- if you want to capture audio, uncomment this. -->
  19. <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
  20. <!-- Create a Java class extending SDLActivity and place it in a
  21. directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
  22. then replace "SDLActivity" with the name of your class (e.g. "MyGame")
  23. in the XML below.
  24. An example Java class can be found in README-android.md
  25. -->
  26. <application android:label="@string/app_name"
  27. android:icon="@mipmap/ic_launcher"
  28. android:allowBackup="true"
  29. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  30. android:hardwareAccelerated="true" >
  31. <activity android:name="SDLActivity"
  32. android:label="@string/app_name"
  33. android:configChanges="keyboardHidden|orientation|screenSize"
  34. >
  35. <intent-filter>
  36. <action android:name="android.intent.action.MAIN" />
  37. <category android:name="android.intent.category.LAUNCHER" />
  38. </intent-filter>
  39. <!-- Drop file event -->
  40. <!--
  41. <intent-filter>
  42. <action android:name="android.intent.action.VIEW" />
  43. <category android:name="android.intent.category.DEFAULT" />
  44. <data android:mimeType="*/*" />
  45. </intent-filter>
  46. -->
  47. </activity>
  48. </application>
  49. </manifest>