AndroidManifest.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Replace org.libsdl.app 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="io.github.sdlpal"
  7. android:versionCode="2"
  8. android:versionName="2.0"
  9. android:installLocation="auto">
  10. <!-- Create a Java class extending SDLActivity and place it in a
  11. directory under src matching the package, e.g.
  12. src/com/gamemaker/game/MyGame.java
  13. then replace "SDLActivity" with the name of your class (e.g. "MyGame")
  14. in the XML below.
  15. An example Java class can be found in README-android.txt
  16. -->
  17. <application android:label="@string/app_name"
  18. android:icon="@drawable/ic_launcher"
  19. android:allowBackup="true"
  20. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  21. android:hardwareAccelerated="true" >
  22. <activity android:name="PalActivity"
  23. android:label="@string/app_name"
  24. android:configChanges="keyboardHidden|orientation"
  25. android:screenOrientation="landscape"
  26. >
  27. <intent-filter>
  28. <action android:name="android.intent.action.MAIN" />
  29. <category android:name="android.intent.category.LAUNCHER" />
  30. </intent-filter>
  31. </activity>
  32. </application>
  33. <!-- Android 2.3.3 -->
  34. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
  35. <!-- OpenGL ES 2.0 -->
  36. <uses-feature android:glEsVersion="0x00020000" />
  37. <!-- Allow writing to external storage -->
  38. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  39. </manifest>