|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
- 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 |