소스 검색

Update documentation

master
陈福行 5 년 전
부모
커밋
b3744f6b25
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    0
      README.md
  2. 2
    1
      README_CN.md

+ 3
- 0
README.md 파일 보기

``` ```


- Add under AndroidManifest.xml application tag - Add under AndroidManifest.xml application tag

``` ```
<application> <application>
    ...     ...


``` ```
> Note: Some of these interfaces or methods require APP to issue commands to body fat to return data. > Note: Some of these interfaces or methods require APP to issue commands to body fat to return data.

## Give instructions to the device ## Give instructions to the device
Get an instance of PabulumService.PabulumBinder in BleProfileServiceReadyActivity.onServiceBinded (PabulumService.PabulumBinder binder), call the method inside binder Get an instance of PabulumService.PabulumBinder in BleProfileServiceReadyActivity.onServiceBinded (PabulumService.PabulumBinder binder), call the method inside binder




## categories ## categories
#### FoodData (weight data) #### FoodData (weight data)

``` ```
Type Parameter name Description Type Parameter name Description
String data; // Weight, corresponding to the current unit String data; // Weight, corresponding to the current unit

+ 2
- 1
README_CN.md 파일 보기





- 在AndroidManifest.xml application标签下面增加 - 在AndroidManifest.xml application标签下面增加

``` ```
<application> <application>
... ...
} }


``` ```

> 注意:这些接口或方法部分需要APP给体脂下发命令才会有返回数据. > 注意:这些接口或方法部分需要APP给体脂下发命令才会有返回数据.
## APP给设备下发指令 ## APP给设备下发指令
在BleProfileServiceReadyActivity.onServiceBinded(PabulumService.PabulumBinder binder)获得PabulumService.PabulumBinder的实例,调用binder里面方法 在BleProfileServiceReadyActivity.onServiceBinded(PabulumService.PabulumBinder binder)获得PabulumService.PabulumBinder的实例,调用binder里面方法



``` ```
秤支持的单位:getUnits(); 秤支持的单位:getUnits();



Loading…
취소
저장