Ready to get your Google Fit on? Google has just released a preview of the recently announced Google Fit SDK, giving developers a chance to wrap their brains around how they’re going to use your phone, smartwatch, connected scale and more to help keep you fit and healthy.
Announced on the Google Developers Blog, the Google Fit preview SDK can be downloaded using the Android SDK Manager starting today. As for what the preview SDK brings to developers today, Google breaks it down by three sets of APIs like this:
- Sensors API provides high-level access to sensors from the device and wearables–so with one API your app can talk to sensors, whether on an Android device or a 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.
- Recording API allows apps to register for battery-efficient, cloud-synced background collection of fitness data. For example, a running app could ask to store user’s location so it can map the run later. Once it registers for these data types, collection is done by Fit in the background with no further work needed by the app.
- History API allows operations on the data like read, insert and delete. When the exerciser finishes her run, the running app can query the History API for all locations during the run and show a map.
While developers can start working on apps that use Google Fit today, don’t expect to see them widely available until this fall when Android L officially drops. Devs, we’re sure you want to keep your upcoming projects under wraps for the time being, but users, what kind of things do you want to see done with Google Fit? Let us know in the comments below.