AndroidManifest.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <data android:scheme="file" />
  42. <data android:mimeType="*/*" />
  43. <data android:pathPattern=".*\\.love" />
  44. <data android:host="*" />
  45. </intent-filter>
  46. </activity>
  47. <activity
  48. android:name="DownloadActivity"
  49. android:noHistory="true" >
  50. <intent-filter>
  51. <action android:name="android.intent.action.VIEW" />
  52. <category android:name="android.intent.category.DEFAULT" />
  53. <category android:name="android.intent.category.BROWSABLE" />
  54. <data android:scheme="http" />
  55. <data android:scheme="https" />
  56. <data android:host="*" />
  57. <data android:pathPattern=".*\\.love" />
  58. </intent-filter>
  59. </activity>
  60. </application>
  61. <!-- Android 2.3.3 -->
  62. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="18" />
  63. <!-- OpenGL ES 2.0 -->
  64. <uses-feature android:glEsVersion="0x00020000" />
  65. </manifest>