際際滷

際際滷Share a Scribd company logo
Google Fit 
App Developer View 
Prepared for Personal Analytics Meetup 
By Gene Leybzon, Aug 2014
Applications That Can benefit from 
integration with Google Fit API 
Health/Fitness 
Data Collection 
Wearable Sensor-based 
apps 
Health/Fitness 
Behavior Analytics 
Statistical/Personal 
Analytics
Whats in Google Fit? 
Google Fit APIs 
Permissions/User Controls 
Data Store 
Sensor Framework
Google Fit Architecture
Whats defined in Android APIs? 
Sensor APIs 
(access to raw 
sensor data) 
Recording APIs 
(Subscriptions for 
data storage) 
History APIs 
(Bulk operations 
on recorded data)
Data flow from sensor to Fitness 
Store 
Sensors 
(Android or 
BTLE-connected) 
Sensor 
Adapters 
Fitness 
Recording 
API
Defined by Google 
Custom 
Custom 
Data Types
Examples of Data Types Defined by 
Google 
Name Description 
com.google.height Users height [m] 
com.google.speed Users speed [m/s] 
com.google.heart_rate.bpm Heart rate [beats per min] 
com.google.heart_rate.summary Max/Min/Average Heart rate [beats 
per min]
Creating Custom Data Types 
Create data type 
request using 
data type builder 
Invoke request 
using history API 
Check Result 
(asynchronously)
Working with fitness data 
Subscribe to fitness data 
List subscriptions 
Unsubscribe 
Start recording session 
Stop Recording session
Working with fitness history 
Read historical data 
Insert data set 
Delete data
Access to the row sensor data 
List data sources 
Register a new listener 
Unregister listener 
Scan available BT devices 
Claim BT device 
Release BT device
What is missing? 
 Structured data support for more data types 
 Local storage (on device) 
 More advanced data aggregation, statistical features 
 Support for other eco-systems (iOS)

More Related Content

Similar to Google Fit, developer's view (20)

Apple Health Kit from the Application Developer Point of View
Apple Health Kit from the Application Developer Point of ViewApple Health Kit from the Application Developer Point of View
Apple Health Kit from the Application Developer Point of View
Gene Leybzon
Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
Avik Das
Big Data
Big DataBig Data
Big Data
Marian Borca
Fitbit retail package
Fitbit retail packageFitbit retail package
Fitbit retail package
krettle
Scrape Uber Eats API for Enhanced Restaurant Insights.pptx
Scrape Uber Eats API for Enhanced Restaurant Insights.pptxScrape Uber Eats API for Enhanced Restaurant Insights.pptx
Scrape Uber Eats API for Enhanced Restaurant Insights.pptx
Real Data API
Scrape Uber Eats API for Enhanced Restaurant Insights.pdf
Scrape Uber Eats API for Enhanced Restaurant Insights.pdfScrape Uber Eats API for Enhanced Restaurant Insights.pdf
Scrape Uber Eats API for Enhanced Restaurant Insights.pdf
Real Data API
Internet of Things Chicago - Meetup
Internet of Things Chicago - MeetupInternet of Things Chicago - Meetup
Internet of Things Chicago - Meetup
Jason Lobel
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & ExperiencesContextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Jason Lobel
Skill up in machine learning using Azure ML
Skill up in machine learning using Azure MLSkill up in machine learning using Azure ML
Skill up in machine learning using Azure ML
Mostafa
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdfData Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Real Data API
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptxData Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Real Data API
Integrating GoogleFit into Android Apps
Integrating GoogleFit into Android AppsIntegrating GoogleFit into Android Apps
Integrating GoogleFit into Android Apps
Giles Payne
CCNSP - Google Analytics
CCNSP - Google AnalyticsCCNSP - Google Analytics
CCNSP - Google Analytics
Alan K'necht
Extract Swiggy Instamart API for Grocery Data Collection.pdf
Extract Swiggy Instamart API for Grocery Data Collection.pdfExtract Swiggy Instamart API for Grocery Data Collection.pdf
Extract Swiggy Instamart API for Grocery Data Collection.pdf
Real Data API
Extract Swiggy Instamart API for Grocery Data Collection.pptx
Extract Swiggy Instamart API for Grocery Data Collection.pptxExtract Swiggy Instamart API for Grocery Data Collection.pptx
Extract Swiggy Instamart API for Grocery Data Collection.pptx
Real Data API
AnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior CreativelyAnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior Creatively
Kiana Tennyson
Press Association Football API Services presentation
Press Association Football API Services presentationPress Association Football API Services presentation
Press Association Football API Services presentation
PressAssociation
Google Firebase - Analytics, Remote Config, Authentication
Google Firebase - Analytics, Remote Config, AuthenticationGoogle Firebase - Analytics, Remote Config, Authentication
Google Firebase - Analytics, Remote Config, Authentication
Birender Singh
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
rajdeep
Li charles emerging biometrics identity services in the cloud 02122015b - ...
Li charles    emerging biometrics identity services in the cloud 02122015b - ...Li charles    emerging biometrics identity services in the cloud 02122015b - ...
Li charles emerging biometrics identity services in the cloud 02122015b - ...
Charles Li
Apple Health Kit from the Application Developer Point of View
Apple Health Kit from the Application Developer Point of ViewApple Health Kit from the Application Developer Point of View
Apple Health Kit from the Application Developer Point of View
Gene Leybzon
Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
Avik Das
Fitbit retail package
Fitbit retail packageFitbit retail package
Fitbit retail package
krettle
Scrape Uber Eats API for Enhanced Restaurant Insights.pptx
Scrape Uber Eats API for Enhanced Restaurant Insights.pptxScrape Uber Eats API for Enhanced Restaurant Insights.pptx
Scrape Uber Eats API for Enhanced Restaurant Insights.pptx
Real Data API
Scrape Uber Eats API for Enhanced Restaurant Insights.pdf
Scrape Uber Eats API for Enhanced Restaurant Insights.pdfScrape Uber Eats API for Enhanced Restaurant Insights.pdf
Scrape Uber Eats API for Enhanced Restaurant Insights.pdf
Real Data API
Internet of Things Chicago - Meetup
Internet of Things Chicago - MeetupInternet of Things Chicago - Meetup
Internet of Things Chicago - Meetup
Jason Lobel
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & ExperiencesContextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Jason Lobel
Skill up in machine learning using Azure ML
Skill up in machine learning using Azure MLSkill up in machine learning using Azure ML
Skill up in machine learning using Azure ML
Mostafa
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdfData Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pdf
Real Data API
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptxData Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Data Scraping Insights with Zomato, Swiggy, and Zepto APIs.pptx
Real Data API
Integrating GoogleFit into Android Apps
Integrating GoogleFit into Android AppsIntegrating GoogleFit into Android Apps
Integrating GoogleFit into Android Apps
Giles Payne
CCNSP - Google Analytics
CCNSP - Google AnalyticsCCNSP - Google Analytics
CCNSP - Google Analytics
Alan K'necht
Extract Swiggy Instamart API for Grocery Data Collection.pdf
Extract Swiggy Instamart API for Grocery Data Collection.pdfExtract Swiggy Instamart API for Grocery Data Collection.pdf
Extract Swiggy Instamart API for Grocery Data Collection.pdf
Real Data API
Extract Swiggy Instamart API for Grocery Data Collection.pptx
Extract Swiggy Instamart API for Grocery Data Collection.pptxExtract Swiggy Instamart API for Grocery Data Collection.pptx
Extract Swiggy Instamart API for Grocery Data Collection.pptx
Real Data API
AnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior CreativelyAnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior Creatively
Kiana Tennyson
Press Association Football API Services presentation
Press Association Football API Services presentationPress Association Football API Services presentation
Press Association Football API Services presentation
PressAssociation
Google Firebase - Analytics, Remote Config, Authentication
Google Firebase - Analytics, Remote Config, AuthenticationGoogle Firebase - Analytics, Remote Config, Authentication
Google Firebase - Analytics, Remote Config, Authentication
Birender Singh
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
rajdeep
Li charles emerging biometrics identity services in the cloud 02122015b - ...
Li charles    emerging biometrics identity services in the cloud 02122015b - ...Li charles    emerging biometrics identity services in the cloud 02122015b - ...
Li charles emerging biometrics identity services in the cloud 02122015b - ...
Charles Li

Recently uploaded (20)

Both Feet on the Ground - Generative Artificial Intelligence
Both Feet on the Ground - Generative Artificial IntelligenceBoth Feet on the Ground - Generative Artificial Intelligence
Both Feet on the Ground - Generative Artificial Intelligence
Pete Nieminen
Endpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore ItEndpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore It
MSP360
UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1
DianaGray10
UiPath Agentic Automation Capabilities and Opportunities
UiPath Agentic Automation Capabilities and OpportunitiesUiPath Agentic Automation Capabilities and Opportunities
UiPath Agentic Automation Capabilities and Opportunities
DianaGray10
Unlocking DevOps Secuirty :Vault & Keylock
Unlocking DevOps Secuirty :Vault & KeylockUnlocking DevOps Secuirty :Vault & Keylock
Unlocking DevOps Secuirty :Vault & Keylock
HusseinMalikMammadli
Build with AI on Google Cloud Session #4
Build with AI on Google Cloud Session #4Build with AI on Google Cloud Session #4
Build with AI on Google Cloud Session #4
Margaret Maynard-Reid
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & TipsTrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc
DealBook of Ukraine: 2025 edition | AVentures Capital
DealBook of Ukraine: 2025 edition | AVentures CapitalDealBook of Ukraine: 2025 edition | AVentures Capital
DealBook of Ukraine: 2025 edition | AVentures Capital
Yevgen Sysoyev
Transform Your Future with Front-End Development Training
Transform Your Future with Front-End Development TrainingTransform Your Future with Front-End Development Training
Transform Your Future with Front-End Development Training
Vtechlabs
The Future of Repair: Transparent and Incremental by Botond Denes
The Future of Repair: Transparent and Incremental by Botond DenesThe Future of Repair: Transparent and Incremental by Botond Denes
The Future of Repair: Transparent and Incremental by Botond Denes
ScyllaDB
UiPath Automation Developer Associate Training Series 2025 - Session 2
UiPath Automation Developer Associate Training Series 2025 - Session 2UiPath Automation Developer Associate Training Series 2025 - Session 2
UiPath Automation Developer Associate Training Series 2025 - Session 2
DianaGray10
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramentoAIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
Alessandro Bogliolo
Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Stronger Together: Combining Data Quality and Governance for Confident AI & A...Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Precisely
Unlock AI Creativity: Image Generation with DALL揃E
Unlock AI Creativity: Image Generation with DALL揃EUnlock AI Creativity: Image Generation with DALL揃E
Unlock AI Creativity: Image Generation with DALL揃E
Expeed Software
Cloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in AviationCloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in Aviation
Assem mousa
FinTech - US Annual Funding Report - 2024.pptx
FinTech - US Annual Funding Report - 2024.pptxFinTech - US Annual Funding Report - 2024.pptx
FinTech - US Annual Funding Report - 2024.pptx
Tracxn
UiPath Document Understanding - Generative AI and Active learning capabilities
UiPath Document Understanding - Generative AI and Active learning capabilitiesUiPath Document Understanding - Generative AI and Active learning capabilities
UiPath Document Understanding - Generative AI and Active learning capabilities
DianaGray10
Gojek Clone Multi-Service Super App.pptx
Gojek Clone Multi-Service Super App.pptxGojek Clone Multi-Service Super App.pptx
Gojek Clone Multi-Service Super App.pptx
V3cube
World Information Architecture Day 2025 - UX at a Crossroads
World Information Architecture Day 2025 - UX at a CrossroadsWorld Information Architecture Day 2025 - UX at a Crossroads
World Information Architecture Day 2025 - UX at a Crossroads
Joshua Randall
Both Feet on the Ground - Generative Artificial Intelligence
Both Feet on the Ground - Generative Artificial IntelligenceBoth Feet on the Ground - Generative Artificial Intelligence
Both Feet on the Ground - Generative Artificial Intelligence
Pete Nieminen
Endpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore ItEndpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore It
MSP360
UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1
DianaGray10
UiPath Agentic Automation Capabilities and Opportunities
UiPath Agentic Automation Capabilities and OpportunitiesUiPath Agentic Automation Capabilities and Opportunities
UiPath Agentic Automation Capabilities and Opportunities
DianaGray10
Unlocking DevOps Secuirty :Vault & Keylock
Unlocking DevOps Secuirty :Vault & KeylockUnlocking DevOps Secuirty :Vault & Keylock
Unlocking DevOps Secuirty :Vault & Keylock
HusseinMalikMammadli
Build with AI on Google Cloud Session #4
Build with AI on Google Cloud Session #4Build with AI on Google Cloud Session #4
Build with AI on Google Cloud Session #4
Margaret Maynard-Reid
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & TipsTrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc Webinar - Building your DPIA/PIA Program: Best Practices & Tips
TrustArc
DealBook of Ukraine: 2025 edition | AVentures Capital
DealBook of Ukraine: 2025 edition | AVentures CapitalDealBook of Ukraine: 2025 edition | AVentures Capital
DealBook of Ukraine: 2025 edition | AVentures Capital
Yevgen Sysoyev
Transform Your Future with Front-End Development Training
Transform Your Future with Front-End Development TrainingTransform Your Future with Front-End Development Training
Transform Your Future with Front-End Development Training
Vtechlabs
The Future of Repair: Transparent and Incremental by Botond Denes
The Future of Repair: Transparent and Incremental by Botond DenesThe Future of Repair: Transparent and Incremental by Botond Denes
The Future of Repair: Transparent and Incremental by Botond Denes
ScyllaDB
UiPath Automation Developer Associate Training Series 2025 - Session 2
UiPath Automation Developer Associate Training Series 2025 - Session 2UiPath Automation Developer Associate Training Series 2025 - Session 2
UiPath Automation Developer Associate Training Series 2025 - Session 2
DianaGray10
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramentoAIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
Alessandro Bogliolo
Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Stronger Together: Combining Data Quality and Governance for Confident AI & A...Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Stronger Together: Combining Data Quality and Governance for Confident AI & A...
Precisely
Unlock AI Creativity: Image Generation with DALL揃E
Unlock AI Creativity: Image Generation with DALL揃EUnlock AI Creativity: Image Generation with DALL揃E
Unlock AI Creativity: Image Generation with DALL揃E
Expeed Software
Cloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in AviationCloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in Aviation
Assem mousa
FinTech - US Annual Funding Report - 2024.pptx
FinTech - US Annual Funding Report - 2024.pptxFinTech - US Annual Funding Report - 2024.pptx
FinTech - US Annual Funding Report - 2024.pptx
Tracxn
UiPath Document Understanding - Generative AI and Active learning capabilities
UiPath Document Understanding - Generative AI and Active learning capabilitiesUiPath Document Understanding - Generative AI and Active learning capabilities
UiPath Document Understanding - Generative AI and Active learning capabilities
DianaGray10
Gojek Clone Multi-Service Super App.pptx
Gojek Clone Multi-Service Super App.pptxGojek Clone Multi-Service Super App.pptx
Gojek Clone Multi-Service Super App.pptx
V3cube
World Information Architecture Day 2025 - UX at a Crossroads
World Information Architecture Day 2025 - UX at a CrossroadsWorld Information Architecture Day 2025 - UX at a Crossroads
World Information Architecture Day 2025 - UX at a Crossroads
Joshua Randall

Google Fit, developer's view

  • 1. Google Fit App Developer View Prepared for Personal Analytics Meetup By Gene Leybzon, Aug 2014
  • 2. Applications That Can benefit from integration with Google Fit API Health/Fitness Data Collection Wearable Sensor-based apps Health/Fitness Behavior Analytics Statistical/Personal Analytics
  • 3. Whats in Google Fit? Google Fit APIs Permissions/User Controls Data Store Sensor Framework
  • 5. Whats defined in Android APIs? Sensor APIs (access to raw sensor data) Recording APIs (Subscriptions for data storage) History APIs (Bulk operations on recorded data)
  • 6. Data flow from sensor to Fitness Store Sensors (Android or BTLE-connected) Sensor Adapters Fitness Recording API
  • 7. Defined by Google Custom Custom Data Types
  • 8. Examples of Data Types Defined by Google Name Description com.google.height Users height [m] com.google.speed Users speed [m/s] com.google.heart_rate.bpm Heart rate [beats per min] com.google.heart_rate.summary Max/Min/Average Heart rate [beats per min]
  • 9. Creating Custom Data Types Create data type request using data type builder Invoke request using history API Check Result (asynchronously)
  • 10. Working with fitness data Subscribe to fitness data List subscriptions Unsubscribe Start recording session Stop Recording session
  • 11. Working with fitness history Read historical data Insert data set Delete data
  • 12. Access to the row sensor data List data sources Register a new listener Unregister listener Scan available BT devices Claim BT device Release BT device
  • 13. What is missing? Structured data support for more data types Local storage (on device) More advanced data aggregation, statistical features Support for other eco-systems (iOS)

Editor's Notes

  • #5: Fitness store is the cloud service
  • #6: Google defined two sets of APIs: - Android APIs - REST APIs