AndroidManifest.xml 4.4 KB

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