AndroidManifest.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest package="org.love2d.android"
  3. android:versionCode="10"
  4. android:versionName="0.9.0-beta1"
  5. android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
  6. <uses-permission android:name="android.permission.INTERNET"/>
  7. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  8. <!-- Allow writing to external storage -->
  9. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  10. <application
  11. android:allowBackup="true"
  12. android:icon="@drawable/ic_launcher"
  13. android:label="LÖVE for Android"
  14. android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
  15. <service android:name=".DownloadService" />
  16. <activity
  17. android:name="GameActivity"
  18. android:configChanges="orientation|screenSize"
  19. android:label="LÖVE for Android"
  20. android:screenOrientation="landscape" >
  21. <intent-filter>
  22. <action android:name="android.intent.action.MAIN" />
  23. <category android:name="android.intent.category.LAUNCHER" />
  24. <category android:name="tv.ouya.intent.category.GAME"/>
  25. </intent-filter>
  26. </activity>
  27. <activity
  28. android:name="GameActivity"
  29. android:configChanges="orientation|screenSize"
  30. android:screenOrientation="landscape" >
  31. <intent-filter>
  32. <action android:name="android.intent.action.VIEW" />
  33. <category android:name="android.intent.category.DEFAULT" />
  34. <data android:scheme="file" />
  35. <data android:scheme="content" />
  36. <data android:mimeType="application/x-love-game" />
  37. </intent-filter>
  38. <intent-filter>
  39. <action android:name="android.intent.action.VIEW" />
  40. <category android:name="android.intent.category.DEFAULT" />
  41. <category android:name="android.intent.category.BROWSABLE" />
  42. <data android:scheme="http" />
  43. <data android:host="*" />
  44. <data android:pathPattern=".*\\.love" />
  45. </intent-filter>
  46. <intent-filter>
  47. <action android:name="android.intent.action.VIEW" />
  48. <category android:name="android.intent.category.DEFAULT" />
  49. <data android:scheme="file" />
  50. <data android:mimeType="*/*" />
  51. <data android:pathPattern=".*\\.love" />
  52. <data android:host="*" />
  53. </intent-filter>
  54. </activity>
  55. </application>
  56. <!-- Android 2.3.3 -->
  57. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="18" />
  58. <!-- OpenGL ES 2.0 -->
  59. <uses-feature android:glEsVersion="0x00020000" />
  60. </manifest>