google_fit_platform_preview_io_14

Google announced Google Fit at Google I/O, which will gives developers the tools to build amazing fitness apps. The set of APIs can store and access data from fitness apps and sensors on Android devices or other wearables. With the user’s permission, apps will now be able to access fitness history data allowing for detailed insights, personalized coaching, recommendations, and more.

The preview SDK is now available so developers can start building apps today. There are three sets of APIs…..

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.

Hit the source link for more information on how to get started.

source: Google Developers


View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.
loading...