AndroidManifest.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest
  3. package="org.love2d.android.executable"
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:tools="http://schemas.android.com/tools" >
  6. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
  7. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" tools:replace="maxSdkVersion" />
  8. <application tools:node="merge">
  9. <service android:name="org.love2d.android.DownloadService" />
  10. <activity
  11. android:name="org.love2d.android.GameActivity"
  12. tools:node="merge" >
  13. <intent-filter>
  14. <action android:name="android.intent.action.VIEW" />
  15. <category android:name="android.intent.category.DEFAULT" />
  16. <category android:name="android.intent.category.BROWSABLE" />
  17. <data android:scheme="file" />
  18. <data android:mimeType="*/*" />
  19. <data android:pathPattern=".*\\.love" />
  20. <data android:host="*" />
  21. </intent-filter>
  22. <intent-filter>
  23. <action android:name="android.intent.action.VIEW" />
  24. <category android:name="android.intent.category.DEFAULT" />
  25. <category android:name="android.intent.category.BROWSABLE" />
  26. <data android:scheme="content" />
  27. <data android:mimeType="application/x-love-game" />
  28. </intent-filter>
  29. <intent-filter>
  30. <action android:name="android.intent.action.VIEW" />
  31. <category android:name="android.intent.category.DEFAULT" />
  32. <category android:name="android.intent.category.BROWSABLE" />
  33. <data android:scheme="content" />
  34. <data android:mimeType="application/octet-stream" />
  35. </intent-filter>
  36. </activity>
  37. <activity
  38. android:name="org.love2d.android.DownloadActivity"
  39. android:exported="true"
  40. android:noHistory="true"
  41. android:theme="@android:style/Theme.NoTitleBar" >
  42. <intent-filter>
  43. <action android:name="android.intent.action.VIEW" />
  44. <category android:name="android.intent.category.DEFAULT" />
  45. <category android:name="android.intent.category.BROWSABLE" />
  46. <data android:scheme="http"
  47. android:host="*"
  48. android:mimeType="*/*"
  49. android:pathPattern=".*\\.love" />
  50. <data android:scheme="https"
  51. android:host="*"
  52. android:mimeType="*/*"
  53. android:pathPattern=".*\\.love" />
  54. </intent-filter>
  55. </activity>
  56. </application>
  57. </manifest>