AndroidManifest.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest package="org.love2d.android.executable"
  3. android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
  4. <uses-permission android:name="android.permission.INTERNET"/>
  5. <uses-permission android:name="android.permission.VIBRATE"/>
  6. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  7. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />
  8. <!-- OpenGL ES 2.0 -->
  9. <uses-feature android:glEsVersion="0x00020000" />
  10. <application
  11. android:allowBackup="true"
  12. android:icon="@drawable/love"
  13. android:label="LÖVE for Android"
  14. android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
  15. <service android:name="org.love2d.android.DownloadService" />
  16. <activity
  17. android:name="org.love2d.android.GameActivity"
  18. android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation"
  19. android:label="LÖVE for Android"
  20. android:launchMode="singleTask"
  21. android:screenOrientation="landscape"
  22. android:resizeableActivity="false" >
  23. <intent-filter>
  24. <action android:name="android.intent.action.MAIN" />
  25. <category android:name="android.intent.category.LAUNCHER" />
  26. <category android:name="tv.ouya.intent.category.GAME"/>
  27. </intent-filter>
  28. <intent-filter>
  29. <action android:name="android.intent.action.VIEW" />
  30. <category android:name="android.intent.category.DEFAULT" />
  31. <category android:name="android.intent.category.BROWSABLE" />
  32. <data android:scheme="file" />
  33. <data android:mimeType="*/*" />
  34. <data android:pathPattern=".*\\.love" />
  35. <data android:host="*" />
  36. </intent-filter>
  37. <intent-filter>
  38. <action android:name="android.intent.action.VIEW" />
  39. <category android:name="android.intent.category.DEFAULT" />
  40. <category android:name="android.intent.category.BROWSABLE" />
  41. <data android:scheme="content" />
  42. <data android:host="*" />
  43. <data android:mimeType="application/x-love-game" />
  44. </intent-filter>
  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="content" />
  50. <data android:host="*" />
  51. <data android:mimeType="application/octet-stream" />
  52. </intent-filter>
  53. </activity>
  54. <activity
  55. android:name="org.love2d.android.DownloadActivity"
  56. android:noHistory="true" >
  57. <intent-filter>
  58. <action android:name="android.intent.action.VIEW" />
  59. <category android:name="android.intent.category.DEFAULT" />
  60. <category android:name="android.intent.category.BROWSABLE" />
  61. <data android:scheme="http"
  62. android:host="*"
  63. android:mimeType="*/*"
  64. android:pathPattern=".*\\.love" />
  65. <data android:scheme="https"
  66. android:host="*"
  67. android:mimeType="*/*"
  68. android:pathPattern=".*\\.love" />
  69. </intent-filter>
  70. </activity>
  71. </application>
  72. </manifest>