AndroidManifest.xml 10 KB

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