AndroidManifest.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- BEGIN_INCLUDE(manifest) -->
  3. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. ${ANDROID_MANIFEST_PACKAGE_OPTION}
  6. android:versionCode="${ANDROID_VERSION_NUMBER}"
  7. android:versionName="${ANDROID_VERSION_NAME}">
  8. <!-- SDK_VERSIONS -->
  9. <!-- OpenGL ES 3.0 -->
  10. <uses-feature android:glEsVersion="0x00030000" android:required="true" />
  11. <!-- Required for Kindle devices, which is based off Android 5.0, to access app specific public storage -->
  12. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="21" />
  13. <!-- Allow TCP/IP. Needed for PerfHUD ES -->
  14. <uses-permission android:name="android.permission.INTERNET" />
  15. <!-- Required to poll the state of the network connection and respond to changes (Obb Download)-->
  16. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  17. <!-- Required to check whether Wi-Fi is enabled (Obb Download) -->
  18. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  19. <!-- Required to keep CPU alive while downloading the Obb files (NOT to keep screen awake) -->
  20. <uses-permission android:name="android.permission.WAKE_LOCK" />
  21. <!-- Required to for IAP -->
  22. <uses-permission android:name="com.android.vending.BILLING" />
  23. <application
  24. android:icon="@mipmap/app_icon"
  25. android:label="@string/app_name"
  26. ${ANDROID_MULTI_WINDOW} >
  27. <!-- Our activity loads the generated bootstrapping class in order to prelaod any third party shared libraries -->
  28. <activity
  29. android:name="${ANDROID_PROJECT_ACTIVITY}"
  30. android:screenOrientation="${ANDROID_SCREEN_ORIENTATION}"
  31. android:configChanges="${ANDROID_CONFIG_CHANGES}"
  32. android:exported="true" > <!-- needed when an intent-filter is used
  33. https://developer.android.com/guide/topics/manifest/activity-element#exported -->
  34. <!-- Multi-window properties, following line can be blank if not specified -->
  35. ${ANDROID_MULTI_WINDOW_PROPERTIES}
  36. <!-- Tell NativeActivity the name of or .so -->
  37. <meta-data android:name="android.app.lib_name"
  38. android:value="${ANDROID_LAUNCHER_NAME}" />
  39. <intent-filter>
  40. <action android:name="android.intent.action.MAIN" />
  41. ${OCULUS_INTENT_FILTER_CATEGORY}
  42. <category android:name="android.intent.category.LAUNCHER" />
  43. </intent-filter>
  44. </activity>
  45. <activity android:name="com.amazon.lumberyard.io.obb.ObbDownloaderActivity"
  46. android:launchMode="singleTask"
  47. android:screenOrientation="${ANDROID_SCREEN_ORIENTATION}"/>
  48. <!-- Services for IAP -->
  49. <service android:name="com.android.vending.billing.InAppBillingService" />
  50. <!-- Services for downloading the Obb -->
  51. <service android:name="com.amazon.lumberyard.io.obb.ObbDownloaderService" />
  52. <receiver android:name="com.amazon.lumberyard.io.obb.ObbDownloaderAlarmReceiver" />
  53. <!-- Samsung DEX specific properties, the following line(s) can be blank if not specified -->
  54. ${SAMSUNG_DEX_KEEP_ALIVE}
  55. ${SAMSUNG_DEX_LAUNCH_WIDTH}
  56. ${SAMSUNG_DEX_LAUNCH_HEIGHT}
  57. </application>
  58. </manifest>
  59. <!-- END_INCLUDE(manifest) -->