AndroidManifest.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest package="org.love2d.android"
  3. android:versionCode="13"
  4. android:versionName="0.9.1a"
  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. <intent-filter>
  27. <action android:name="android.intent.action.VIEW" />
  28. <category android:name="android.intent.category.DEFAULT" />
  29. <data android:scheme="file" />
  30. <data android:scheme="content" />
  31. <data android:mimeType="application/x-love-game" />
  32. </intent-filter>
  33. <intent-filter>
  34. <action android:name="android.intent.action.VIEW" />
  35. <category android:name="android.intent.category.DEFAULT" />
  36. <data android:scheme="file" />
  37. <data android:mimeType="*/*" />
  38. <data android:pathPattern=".*\\.love" />
  39. <data android:host="*" />
  40. </intent-filter>
  41. </activity>
  42. <activity
  43. android:name="DownloadActivity"
  44. android:noHistory="true" >
  45. <intent-filter>
  46. <action android:name="android.intent.action.VIEW" />
  47. <category android:name="android.intent.category.DEFAULT" />
  48. <category android:name="android.intent.category.BROWSABLE" />
  49. <data android:scheme="http"
  50. android:host="*"
  51. android:pathPrefix="*"
  52. android:mimeType="*/*"
  53. android:pathPattern=".*\\.love" />
  54. <data android:scheme="https"
  55. android:host="*"
  56. android:pathPrefix="*"
  57. android:mimeType="*/*"
  58. android:pathPattern=".*\\.love" />
  59. </intent-filter>
  60. </activity>
  61. </application>
  62. <!-- Android 2.3.3 -->
  63. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="18" />
  64. <!-- OpenGL ES 2.0 -->
  65. <uses-feature android:glEsVersion="0x00020000" />
  66. </manifest>