AndroidManifest.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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:icon="@drawable/icon"
  72. android:label="@string/app_name"
  73. android:largeHeap="true"
  74. android:supportsRtl="true"
  75. android:usesCleartextTraffic="true" >
  76. <!-- 应用入口 -->
  77. <activity
  78. android:name="io.dcloud.PandoraEntry"
  79. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale"
  80. android:hardwareAccelerated="true"
  81. android:theme="@style/TranslucentTheme"
  82. android:windowSoftInputMode="adjustResize" >
  83. <intent-filter>
  84. <data android:scheme="hbuilder" />
  85. <action android:name="android.intent.action.VIEW" />
  86. <category android:name="android.intent.category.DEFAULT" />
  87. <category android:name="android.intent.category.BROWSABLE" />
  88. </intent-filter>
  89. <intent-filter>
  90. <data android:mimeType="image/*" />
  91. <action android:name="android.intent.action.SEND" />
  92. <category android:name="android.intent.category.DEFAULT" />
  93. </intent-filter>
  94. <intent-filter>
  95. <action android:name="android.intent.action.MAIN" />
  96. <category android:name="android.intent.category.LAUNCHER" />
  97. </intent-filter>
  98. </activity>
  99. <meta-data
  100. android:name="dcloud_uninview_background"
  101. android:value="true" />
  102. <activity
  103. android:name="io.dcloud.PandoraEntryActivity"
  104. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard"
  105. android:hardwareAccelerated="true"
  106. android:launchMode="singleTask"
  107. android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"
  108. android:screenOrientation="user"
  109. android:theme="@style/DCloudTheme"
  110. android:windowSoftInputMode="adjustResize" >
  111. <intent-filter>
  112. <category android:name="android.intent.category.DEFAULT" />
  113. <category android:name="android.intent.category.BROWSABLE" />
  114. <action android:name="android.intent.action.VIEW" />
  115. <data android:scheme="h56131bcf" />
  116. </intent-filter>
  117. </activity>
  118. <service
  119. android:name="io.dcloud.common.adapter.io.MiniServerService"
  120. android:exported="false" />
  121. <receiver
  122. android:name="io.dcloud.common.adapter.io.PushReceiver"
  123. android:exported="false" >
  124. <intent-filter>
  125. <action android:name="dcloud.push.broswer" />
  126. </intent-filter>
  127. </receiver>
  128. <activity
  129. android:name="io.dcloud.imagepick.CustomGalleryActivity"
  130. android:exported="false"
  131. android:noHistory="true" />
  132. <activity
  133. android:name="io.dcloud.feature.nativeObj.photoview.PhotoActivity"
  134. android:noHistory="false"
  135. android:theme="@style/DeviceDefault.Light" />
  136. <activity
  137. android:name="io.dcloud.WebAppActivity"
  138. android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale"
  139. android:hardwareAccelerated="true"
  140. android:icon="@drawable/dcloud_recent"
  141. android:label="@string/stream_my"
  142. android:launchMode="singleTask"
  143. android:screenOrientation="portrait"
  144. android:taskAffinity=":stream"
  145. android:theme="@style/DCloudTheme"
  146. android:windowSoftInputMode="adjustResize" />
  147. <activity
  148. android:name="io.dcloud.ProcessMediator"
  149. android:excludeFromRecents="true"
  150. android:exported="true"
  151. android:label="@string/app_name"
  152. android:launchMode="singleTop"
  153. android:theme="@android:style/Theme.Translucent.NoTitleBar" />
  154. <activity
  155. android:name="io.dcloud.WebviewActivity"
  156. android:screenOrientation="portrait"
  157. android:theme="@style/ThemeNoTitleBar"
  158. android:windowSoftInputMode="adjustPan" >
  159. </activity>
  160. <receiver
  161. android:name="io.dcloud.common.adapter.io.DownloadReceiver"
  162. android:exported="false" >
  163. <intent-filter>
  164. <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
  165. </intent-filter>
  166. <intent-filter>
  167. <action android:name="android.intent.action.PACKAGE_ADDED" />
  168. <data android:scheme="package" /> <!-- HERE! -->
  169. </intent-filter>
  170. </receiver>
  171. <!--
  172. <provider
  173. android:name="io.dcloud.common.util.DCloud_FileProvider"
  174. android:authorities="${apk.applicationId}.dc.fileprovider"
  175. android:exported="false"
  176. android:grantUriPermissions="true">
  177. <meta-data
  178. android:name="android.support.FILE_PROVIDER_PATHS"
  179. android:resource="@xml/dcloud_file_provider" />
  180. </provider>
  181. -->
  182. <!--
  183. <meta-data
  184. android:name="DCLOUD_STREAMAPP_CHANNEL"
  185. android:value="io.dcloud.%APPID%|%APPID%|" />
  186. -->
  187. <meta-data
  188. android:name="android.max_aspect"
  189. android:value="2.4" />
  190. <receiver
  191. android:name="com.taobao.weex.WXGlobalEventReceiver"
  192. android:enabled="true"
  193. android:exported="false" >
  194. </receiver>
  195. <service
  196. android:name="com.sxr.sdk.ble.keepfit.service.SampleBleService"
  197. android:enabled="true"
  198. android:exported="true"
  199. android:process="com.sxr.sdk.ble.keepfit.client.SampleBleService" >
  200. <intent-filter>
  201. <action android:name="com.sxr.sdk.ble.BluetoothLeService.SampleBleService" />
  202. </intent-filter>
  203. </service>
  204. <service
  205. android:name="com.sxr.sdk.ble.keepfit.service.ReportService"
  206. android:enabled="true"
  207. android:exported="true"
  208. android:priority="1000" />
  209. <activity
  210. android:name="com.sxr.sdk.ble.keepfit.client.GyeeActivity"
  211. android:theme="@style/Theme.Android123" >
  212. <!-- <intent-filter> -->
  213. <!-- <action android:name="android.intent.action.MAIN" /> -->
  214. <!-- <category android:name="android.intent.category.LAUNCHER" /> -->
  215. <!-- </intent-filter> -->
  216. </activity>
  217. </application>
  218. </manifest>