AndroidManifest.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.nibiru.ar"
  4. android:installLocation="auto"
  5. android:versionCode="1"
  6. android:versionName="1.0" >
  7. <application
  8. android:icon="@drawable/app_icon"
  9. android:isGame="true"
  10. android:label="@string/app_name"
  11. android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
  12. <meta-data android:name="NibiruVRVersion" android:value="2" />
  13. <activity
  14. android:name="com.nibiru.lib.xr.unity.NibiruXRUnityActivity"
  15. android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale"
  16. android:label="@string/app_name"
  17. android:launchMode="singleTask"
  18. android:screenOrientation="landscape" >
  19. <intent-filter>
  20. <action android:name="android.intent.action.MAIN" />
  21. <category android:name="android.intent.category.LAUNCHER" />
  22. <category android:name="com.google.intent.category.CARDBOARD" />
  23. <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
  24. <category android:name="com.nibiru.intent.category.NVR" />
  25. <category android:name="com.nibiru.intent.category.STUDIO" />
  26. </intent-filter>
  27. <meta-data
  28. android:name="unityplayer.UnityActivity"
  29. android:value="true" />
  30. <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
  31. </activity>
  32. <!-- "VOICE", "6DOF", "GESTURE", "RECORD", "MARKER", "RECOGINIZE" !-->
  33. <meta-data android:value="6DOF,RECORD" android:name="NIBIRU_PLUGIN_IDS"/>
  34. <meta-data android:value="NxrViewerMain" android:name="NIBIRU_UNITY_VIEWER_NAME"/>
  35. <!--0=vr,1=ar-->
  36. <meta-data android:value="AR" android:name="HMD_TYPE"/>
  37. <!-- SixDofMode: 0=TM2, 1=Qualcomm -->
  38. <!-- <meta-data android:value="1" android:name="NIBIRU_SIX_DOF_MODE"/> !-->
  39. <!-- SixDofType: 0=内置3DOF+位移, 1=Full 6DOF -->
  40. <!-- <meta-data android:value="1" android:name="NIBIRU_SIX_DOF_TYPE"/> !-->
  41. <!-- 当前APK为加密版本-->
  42. <meta-data android:value="0" android:name="NIBIRU_ENCRYPTION_MODE"/>
  43. <!-- APK新加密机制:填写工具声明的密钥 -->
  44. <meta-data android:value="jQmgH6Fuagw." android:name="NIBIRU_SDK_KEY"/>
  45. </application>
  46. <uses-feature android:glEsVersion="0x00030000" android:required="true" />
  47. <uses-feature
  48. android:name="android.hardware.sensor.accelerometer"
  49. android:required="true" />
  50. <uses-feature
  51. android:name="android.hardware.sensor.gyroscope"
  52. android:required="true" />
  53. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
  54. <uses-permission android:name="android.permission.BLUETOOTH"/>
  55. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  56. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  57. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  58. <uses-permission android:name="android.permission.INTERNET" />
  59. <uses-permission android:name="android.permission.GET_TASKS" />
  60. <uses-permission android:name="android.permission.CAMERA"/>
  61. <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
  62. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  63. <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
  64. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  65. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
  66. <!-- VR feature tags. -->
  67. <uses-feature
  68. android:name="android.software.vr.mode"
  69. android:required="false" />
  70. <uses-feature
  71. android:name="android.hardware.vr.high_performance"
  72. android:required="false" />
  73. <uses-feature
  74. android:name="android.hardware.touchscreen"
  75. android:required="false" />
  76. <uses-feature
  77. android:name="android.hardware.touchscreen.multitouch"
  78. android:required="false" />
  79. <uses-feature
  80. android:name="android.hardware.touchscreen.multitouch.distinct"
  81. android:required="false" />
  82. </manifest>