AndroidManifest.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="org.libsdl.app"
  7. android:versionCode="1"
  8. android:versionName="1.0"
  9. android:installLocation="auto">
  10. <!-- Android 2.3.3 -->
  11. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
  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. <!-- if you want to capture audio, uncomment this. -->
  17. <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
  18. <!-- Create a Java class extending SDLActivity and place it in a
  19. directory under src matching the package, e.g.
  20. src/com/gamemaker/game/MyGame.java
  21. then replace "SDLActivity" with the name of your class (e.g. "MyGame")
  22. in the XML below.
  23. An example Java class can be found in README-android.md
  24. -->
  25. <application android:label="@string/app_name"
  26. android:icon="@drawable/ic_launcher"
  27. android:allowBackup="true"
  28. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  29. android:hardwareAccelerated="true" >
  30. <activity android:name="SDLActivity"
  31. android:label="@string/app_name"
  32. android:configChanges="keyboardHidden|orientation"
  33. >
  34. <intent-filter>
  35. <action android:name="android.intent.action.MAIN" />
  36. <category android:name="android.intent.category.LAUNCHER" />
  37. </intent-filter>
  38. <!-- Drop file event -->
  39. <!--
  40. <intent-filter>
  41. <action android:name="android.intent.action.VIEW" />
  42. <category android:name="android.intent.category.DEFAULT" />
  43. <data android:mimeType="*/*" />
  44. </intent-filter>
  45. -->
  46. </activity>
  47. </application>
  48. </manifest>