简体   繁体   English

是否在没有Google Fit应用的情况下将每日步数写入Google Fit API?

[英]Are daily steps count written to Google Fit API without Google Fit app?

I'm developing an app that read Google Fit OS layer data (local data written on the phone, not Google Fit application itself). 我正在开发一个读取Google Fit OS图层数据(写在手机上的本地数据,而不是Google Fit应用程序本身)的应用程序。

Does phone's steps sensor natively write daily steps count to Google Fit API or is this only achieved by a tierce application (Google Fit app or any basic pedometer application) ? 手机的步速传感器是本机地将日常步数写入Google Fit API还是仅通过tierce应用程序(Google Fit应用程序或任何基本的计步器应用程序)实现?

When you read the definition: 阅读定义时:

The Sensors API provides access to raw sensor data streams from sensors available on the Android device and from sensors available in companion devices, such as wearables. 通过Sensors API,您可以从Android设备上可用的传感器以及伴随设备(如可穿戴设备)中可用的传感器访问原始传感器数据流。

So, from that statement, it is clearly stated that the sensor from Android device and companion devices (wearables) was used and only accessed by the app when called. 因此,从该声明中可以清楚地表明,使用了Android设备和配套设备(可穿戴设备)中的传感器,并且只有在被调用时才可以由应用访问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM