Q: Does Health Connect support Android phones without Google Play services installed?
A: No. Health Connect has certain compatibility requirements including that mobile devices have Android SDK version 28 (Pie) or higher with Google Play services installed.
Q: How does Health Connect compare with Google Fit?
A: The following table illustrates key architectural differences between the two APIs.
|Health Connect||Google Fit|
Health Connect is device-centric. Data is stored on the user’s device instead of being associated with a specific Google account.
Google Fit is account-centric. Data is stored on a server-side infrastructure. Its data model is entirely tied to specific Google accounts as opposed to the user’s device(s). This makes the server the source of truth in Google Fit.
Users have granular control over which applications have read and/or write access to each data type through Health Connect.
Health Connect benefits from a built-in, custom permissions mechanism. This allows us to centralize and refine the way permissions are managed and allocated.
|Coarser (OAuth) Permissions
Google Fit’s permissions can be coarser and are based on OAuth. OAuth scopes may also cover a larger number of data types.
|Minor Data Processing
Health Connect involves very little data processing and derivation, with some minor exceptions for data types like Basal Calories and Basal Metabolic Rate (BMR). Developers will therefore have access to more raw data with Health Connect.
|Service-Specific Data Processing
Google Fit processes more data, turning some data types into others or merging them. Google Fit processes data for a specific service, rather than providing access to raw data as Health Connect does.
Q: Is Health Connect’s storage on-device and/or cloud based?
A: Health Connect provides on-device storage. Our goal is to create a system that puts users fully in control of their data, as well as which apps and services they share it with.
Q: Which mobile devices are able to connect to Health Connect?
A: Only mobile devices with Android SDK version 28 (Pie) or higher are able to connect to Health Connect. These devices must also have Google Play services installed.
Q: Does a Java SDK exist on Jetpack? Will this eventually be added?
A: The Health Connect SDK is only in Kotlin. We do not have immediate plans to add a Java SDK to the Jetpack library. However, we may eventually support both programming languages depending on developer feedback.
Q: What is the range of historical data Health Connect can read or write?
A: Health Connect enables you to read data measured up to 30 days before and write data for all time ranges.
Q: Who should I contact if I need help integrating with Health Connect?
A: Please contact email@example.com if you have any technical questions, issues, or concerns about integrating with Health Connect. Our support specialists work hard to respond to developer questions as quickly and comprehensively as possible. In the meantime, please remember to consult the Health Connect documentation for any guidance you may need.