AndroidManifest.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. <!-- Create a Java class extending SDLActivity and place it in a
  17. directory under src matching the package, e.g.
  18. src/com/gamemaker/game/MyGame.java
  19. then replace "SDLActivity" with the name of your class (e.g. "MyGame")
  20. in the XML below.
  21. An example Java class can be found in README-android.txt
  22. -->
  23. <application android:label="@string/app_name"
  24. android:icon="@drawable/ic_launcher"
  25. android:allowBackup="true"
  26. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  27. android:hardwareAccelerated="true" >
  28. <activity android:name="SDLActivity"
  29. android:label="@string/app_name"
  30. android:configChanges="keyboardHidden|orientation"
  31. >
  32. <intent-filter>
  33. <action android:name="android.intent.action.MAIN" />
  34. <category android:name="android.intent.category.LAUNCHER" />
  35. </intent-filter>
  36. <!-- Drop file event -->
  37. <!--
  38. <intent-filter>
  39. <action android:name="android.intent.action.VIEW" />
  40. <category android:name="android.intent.category.DEFAULT" />
  41. <data android:mimeType="*/*" />
  42. </intent-filter>
  43. -->
  44. </activity>
  45. </application>
  46. </manifest>