AndroidManifest.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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="2"
  5. android:versionName="1.0.1">
  6. <uses-sdk android:targetSdkVersion="19" />
  7. <uses-permission android:name="android.permission.BLUETOOTH" />
  8. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  9. <uses-permission android:name="android.permission.RECEIVE_SMS" />
  10. <uses-permission android:name="android.permission.READ_SMS" />
  11. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  12. <!-- 调用相机权限 -->
  13. <uses-permission android:name="android.permission.CAMERA" />
  14. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  15. <uses-feature android:name="android.hardware.camera" />
  16. <uses-feature android:name="android.hardware.camera.autofocus" />
  17. <uses-feature android:name="android.hardware.microphone" />
  18. <uses-permission android:name="android.permission.READ_CALL_LOG"/>
  19. <!-- 获取运营商信息,用于支持提供运营商信息相关的接口-->
  20. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
  21. <!-- 这个权限用于获取wifi的获取权限,wifi信息会用来进行网络定位-->
  22. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
  23. <!-- 用于读取手机当前的状态-->
  24. <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
  25. <!-- 写入扩展存储,向扩展卡写入数据,用于写入离线定位数据-->
  26. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
  27. <!-- 访问网络,网络定位需要上网-->
  28. <uses-permission android:name="android.permission.INTERNET" />
  29. <!-- SD卡读取权限,用户写入离线定位数据-->
  30. <!-- 粗略的位置权限 -->
  31. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
  32. <!-- 精确的位置权限 -->
  33. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
  34. <uses-feature
  35. android:name="android.hardware.bluetooth_le"
  36. android:required="true" />
  37. <application
  38. android:allowBackup="false"
  39. android:icon="@mipmap/ic_launcher"
  40. android:label="@string/app_name"
  41. android:theme="@style/AppTheme" >
  42. <service
  43. android:name="com.sxr.sdk.ble.keepfit.client.SampleBleService"
  44. android:enabled="true"
  45. android:process="com.sxr.sdk.ble.keepfit.client.SampleBleService"
  46. android:exported="true" >
  47. <intent-filter>
  48. <action android:name="com.sxr.sdk.ble.BluetoothLeService.SampleBleService" />
  49. </intent-filter>
  50. </service>
  51. <activity
  52. android:name="com.sxr.sdk.ble.keepfit.client.GyeeActivity"
  53. android:label="@string/app_name" >
  54. <intent-filter>
  55. <action android:name="android.intent.action.MAIN" />
  56. <category android:name="android.intent.category.LAUNCHER" />
  57. </intent-filter>
  58. </activity>
  59. </application>
  60. </manifest>