AndroidManifest.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. <!-- 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 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.md
  26. -->
  27. <application android:label="@string/app_name"
  28. android:icon="@drawable/ic_launcher"
  29. android:allowBackup="true"
  30. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  31. android:hardwareAccelerated="true" >
  32. <activity android:name="SDLActivity"
  33. android:label="@string/app_name"
  34. android:configChanges="keyboardHidden|orientation|screenSize"
  35. >
  36. <intent-filter>
  37. <action android:name="android.intent.action.MAIN" />
  38. <category android:name="android.intent.category.LAUNCHER" />
  39. </intent-filter>
  40. <!-- Drop file event -->
  41. <!--
  42. <intent-filter>
  43. <action android:name="android.intent.action.VIEW" />
  44. <category android:name="android.intent.category.DEFAULT" />
  45. <data android:mimeType="*/*" />
  46. </intent-filter>
  47. -->
  48. </activity>
  49. </application>
  50. </manifest>