AndroidManifest.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.sxr.sdk.ble.keepfit.client"
  4. android:versionCode="1"
  5. android:versionName="1.0" >
  6. <uses-sdk
  7. android:minSdkVersion="19"
  8. android:targetSdkVersion="21" />
  9. <supports-screens
  10. android:anyDensity="true"
  11. android:largeScreens="true"
  12. android:normalScreens="true"
  13. android:resizeable="true"
  14. android:smallScreens="true" />
  15. <uses-permission android:name="android.permission.BLUETOOTH" />
  16. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  17. <uses-permission android:name="android.permission.RECEIVE_SMS" />
  18. <uses-permission android:name="android.permission.READ_SMS" />
  19. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  20. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  21. <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
  22. <uses-feature android:name="android.hardware.sensor.stepcounter" />
  23. <uses-feature android:name="feature:android.hardware.sensor.stepdetector" />
  24. <!-- 调用相机权限 -->
  25. <uses-permission android:name="android.permission.CAMERA" />
  26. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  27. <uses-feature android:name="android.hardware.camera" />
  28. <uses-feature android:name="android.hardware.camera.autofocus" />
  29. <uses-feature android:name="android.hardware.microphone" />
  30. <uses-permission android:name="android.permission.READ_CALL_LOG" />
  31. <!-- 获取运营商信息,用于支持提供运营商信息相关的接口 -->
  32. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  33. <!-- 这个权限用于获取wifi的获取权限,wifi信息会用来进行网络定位 -->
  34. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  35. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  36. <!-- 用于读取手机当前的状态 -->
  37. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  38. <!-- 写入扩展存储,向扩展卡写入数据,用于写入离线定位数据 -->
  39. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  40. <!-- 访问网络,网络定位需要上网 -->
  41. <uses-permission android:name="android.permission.INTERNET" />
  42. <!-- SD卡读取权限,用户写入离线定位数据 -->
  43. <!-- 粗略的位置权限 -->
  44. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  45. <!-- 精确的位置权限 -->
  46. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  47. <!-- Barcode(二维码) begin -->
  48. <uses-permission android:name="android.permission.CAMERA" />
  49. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  50. <uses-feature android:name="android.hardware.camera" />
  51. <uses-feature android:name="android.hardware.camera.autofocus" />
  52. <uses-permission android:name="android.permission.VIBRATE" />
  53. <uses-permission android:name="android.permission.FLASHLIGHT" />
  54. <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  55. <!-- Barcode(二维码) end -->
  56. <uses-feature
  57. android:name="android.hardware.bluetooth_le"
  58. android:required="true" />
  59. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  60. <uses-permission android:name="android.permission.USE_FINGERPRINT" />
  61. <!--
  62. <uses-permission
  63. android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
  64. -->
  65. <!-- 华为修改角标需要设置权限 -->
  66. <uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE" />
  67. <uses-permission android:name="com.asus.msa.SupplementaryDID.ACCESS" />
  68. <application
  69. android:name="io.dcloud.application.DCloudApplication"
  70. android:allowBackup="true"
  71. android:allowClearUserData="true"
  72. android:appComponentFactory="android.support.v4.app.CoreComponentFactory"
  73. android:debuggable="true"
  74. android:icon="@drawable/icon"
  75. android:label="@string/app_name"
  76. android:largeHeap="true"
  77. android:supportsRtl="true"
  78. android:testOnly="true"
  79. android:usesCleartextTraffic="true" >
  80. <!-- 应用入口 -->
  81. <activity
  82. android:name="io.dcloud.PandoraEntry"
  83. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale"
  84. android:hardwareAccelerated="true"
  85. android:theme="@style/TranslucentTheme"
  86. android:windowSoftInputMode="adjustResize" >
  87. <intent-filter>
  88. <data android:scheme="hbuilder" />
  89. <action android:name="android.intent.action.VIEW" />
  90. <category android:name="android.intent.category.DEFAULT" />
  91. <category android:name="android.intent.category.BROWSABLE" />
  92. </intent-filter>
  93. <intent-filter>
  94. <data android:mimeType="image/*" />
  95. <action android:name="android.intent.action.SEND" />
  96. <category android:name="android.intent.category.DEFAULT" />
  97. </intent-filter>
  98. <intent-filter>
  99. <action android:name="android.intent.action.MAIN" />
  100. <category android:name="android.intent.category.LAUNCHER" />
  101. </intent-filter>
  102. </activity>
  103. <meta-data
  104. android:name="dcloud_uninview_background"
  105. android:value="true" />
  106. <activity
  107. android:name="io.dcloud.PandoraEntryActivity"
  108. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard"
  109. android:hardwareAccelerated="true"
  110. android:launchMode="singleTask"
  111. android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"
  112. android:screenOrientation="user"
  113. android:theme="@style/DCloudTheme"
  114. android:windowSoftInputMode="adjustResize" >
  115. <intent-filter>
  116. <category android:name="android.intent.category.DEFAULT" />
  117. <category android:name="android.intent.category.BROWSABLE" />
  118. <action android:name="android.intent.action.VIEW" />
  119. <data android:scheme="h56131bcf" />
  120. </intent-filter>
  121. </activity>
  122. <service
  123. android:name="io.dcloud.common.adapter.io.MiniServerService"
  124. android:exported="false" />
  125. <receiver
  126. android:name="io.dcloud.common.adapter.io.PushReceiver"
  127. android:exported="false" >
  128. <intent-filter>
  129. <action android:name="dcloud.push.broswer" />
  130. </intent-filter>
  131. </receiver>
  132. <activity
  133. android:name="io.dcloud.imagepick.CustomGalleryActivity"
  134. android:exported="false"
  135. android:noHistory="true" />
  136. <activity
  137. android:name="io.dcloud.feature.nativeObj.photoview.PhotoActivity"
  138. android:noHistory="false"
  139. android:theme="@style/DeviceDefault.Light" />
  140. <activity
  141. android:name="io.dcloud.WebAppActivity"
  142. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale"
  143. android:hardwareAccelerated="true"
  144. android:icon="@drawable/dcloud_recent"
  145. android:label="@string/stream_my"
  146. android:launchMode="singleTask"
  147. android:screenOrientation="portrait"
  148. android:taskAffinity=":stream"
  149. android:theme="@style/DCloudTheme"
  150. android:windowSoftInputMode="adjustResize" />
  151. <activity
  152. android:name="io.dcloud.ProcessMediator"
  153. android:excludeFromRecents="true"
  154. android:exported="true"
  155. android:label="@string/app_name"
  156. android:launchMode="singleTop"
  157. android:theme="@android:style/Theme.Translucent.NoTitleBar" />
  158. <activity
  159. android:name="io.dcloud.WebviewActivity"
  160. android:screenOrientation="portrait"
  161. android:theme="@style/ThemeNoTitleBar"
  162. android:windowSoftInputMode="adjustPan" >
  163. </activity>
  164. <receiver
  165. android:name="io.dcloud.common.adapter.io.DownloadReceiver"
  166. android:exported="false" >
  167. <intent-filter>
  168. <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
  169. </intent-filter>
  170. <intent-filter>
  171. <action android:name="android.intent.action.PACKAGE_ADDED" />
  172. <data android:scheme="package" /> <!-- HERE! -->
  173. </intent-filter>
  174. </receiver>
  175. <!--
  176. <provider
  177. android:name="io.dcloud.common.util.DCloud_FileProvider"
  178. android:authorities="${apk.applicationId}.dc.fileprovider"
  179. android:exported="false"
  180. android:grantUriPermissions="true">
  181. <meta-data
  182. android:name="android.support.FILE_PROVIDER_PATHS"
  183. android:resource="@xml/dcloud_file_provider" />
  184. </provider>
  185. -->
  186. <!--
  187. <meta-data
  188. android:name="DCLOUD_STREAMAPP_CHANNEL"
  189. android:value="io.dcloud.%APPID%|%APPID%|" />
  190. -->
  191. <meta-data
  192. android:name="android.max_aspect"
  193. android:value="2.4" />
  194. <receiver
  195. android:name="com.taobao.weex.WXGlobalEventReceiver"
  196. android:enabled="true"
  197. android:exported="false" >
  198. </receiver>
  199. <service
  200. android:name="com.sxr.sdk.ble.keepfit.service.SampleBleService"
  201. android:enabled="true"
  202. android:exported="true"
  203. android:process="com.sxr.sdk.ble.keepfit.client.SampleBleService" >
  204. <intent-filter>
  205. <action android:name="com.sxr.sdk.ble.BluetoothLeService.SampleBleService" />
  206. </intent-filter>
  207. </service>
  208. <service
  209. android:name="com.sxr.sdk.ble.keepfit.service.ReportService"
  210. android:enabled="true"
  211. android:exported="true"
  212. android:priority="1000" />
  213. <activity
  214. android:name="com.sxr.sdk.ble.keepfit.client.GyeeActivity"
  215. android:theme="@style/Theme.Android123" >
  216. <!-- <intent-filter> -->
  217. <!-- <action android:name="android.intent.action.MAIN" /> -->
  218. <!-- <category android:name="android.intent.category.LAUNCHER" /> -->
  219. <!-- </intent-filter> -->
  220. </activity>
  221. </application>
  222. </manifest>