Google has released a preview software development kit (SDK) for Google Fit, the platform the company will launch later this year to help Android users aggregate data from fitness apps and devices. The preview launch gives some hints about what the final SDK will look like when it launches later this year.
In a blog post, Google explained that the preview SDK will contain three different APIs. The first, a Sensor API, will allow a developer’s app to talk to sensors either embedded in an Android phone or in a connected wearable.
“So if you’re making a running app, you could register it to receive updates from a connected heart rate monitor every 5 seconds during a user’s run and give immediate feedback to the runner on the display,” Google Fit product manager Angana Ghosh writes.
The other two APIs are a Recording API, which allows an app to work in the background of the phone to detect other kinds of data, like location, continuously without using too much battery, and a History API, which allows the app to access similar data after the fact. The History API will be able to pull batch data from pre-existing apps on a user’s phone. Continued.