AndroidManifest.xml 2.0 KB

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