Google Launches A Preview SDK For Its Fitness And Health Tracking Service
Earlier this year, at its IO developer conference, Google announced Fit, its service for bringing health and fitness tracking to the Android ecosystem. It’s essentially Google’s version of Apple’s HealthKit service and will launch with the release of Android L later this year. Today, however, the company announced the Preview SDK for Fit so that developers can now start building their own apps for the service before it becomes widely available.
The Recording API is somewhat similar, but instead of direct access to the data, it allows apps to register for cloud-synced background data collection. The Sensor API doesn’t store this data automatically, so you need the Recording API if you want to use any of this data later on. Google says an app could use this to store a user’s location during a run so it can show a map based on this data after a run is over. Right now, the cloud backend isn’t actually available yet, but Google says it’s coming “soon.”
It’s worth noting that the SDK neither includes support for the promised REST API for web developers who want to use Fit data nor any specific APIs for Android Wear.
To get started, developers will have to install a special version of the Android L Developer Preview on either a Nexus 5 phone or a second-generation Nexus 7 WiFi tablet. Google has always said that it wants to create an open ecosystem around Fit, so while the Preview SDK only works for a limited number of devices, the overall idea is to allow fitness apps to work with data from almost any wearable or sensor.