Google makes the Google Fit Preview SDK available for developers

Google Fit

Google has launched the preview Google Fit SDK so that developers can start adding fitness tracking capabilities into their apps.

Google Fit provides a single set of APIs for apps and device makers to store and access activity data from fitness apps and sensors on Android and other devices such as wearables, heart rate monitors or connected scales. This in turn will allow developers to access user’s fitness history to add more interesting features in their apps like personalized coaching, better insights, fitness recommendations and more.

The SDK consists of three sets of APIs designed to meet specific developer needs:

First, there’s the Sensors API that provides high-level access to sensors from the device and wearables, making it easier for apps to “talk” to sensors, whether on an Android device or a wearable.

The SDK consists of Sensors, Recording and History APIs designed to meet specific developer needs.Then there’s the Recording API that 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.

Finally, the 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.

Developers looking to integrate Google Fit into their apps can download the updated version of Google Play services with the Google Fit APIs for Android in the Android L Developer Preview Nexus 5 and Nexus 7 system images.

The full Google Fit SDK will launch later this year as part of Google Play services for handsets, Android Wear and also for the web.