Friday, June 20, 2014

Health Kit - Details

A large number of health monitoring devices exist from various vendors in market today those work based on Bluetooth Low Energy. For Interacting with these devices, these vendors have provided APIs. 
Taking Two Examples 
Jawbone UP
Uses REST APIs for communication 
Detailed set of APIs available at https://jawbone.com/up/developer
     Fitbit 
Uses REST APIs for communication 
Detailed set of APIs available at https://wiki.fitbit.com/display/API/Fitbit+API
     
Applications needs to make REST API calls depending on the fitness device user is having. The         complexity increases as the number of health monitoring devices increases.


Not tried to reinvent the wheel, instead helps apps to share information at a central point. 
User's health information is stored at a central secure point in device. User can see this information via health app. 
3rd party apps can now gain access to the health information for the user and provide information to the user without needing to implement specific device APIs.
Using the Health APIs, an app can register for changes so that whenever say for e.g. blood pressure become low the listener app get called back and can alert the user. 
Applications needs to activate Health Kit in project settings 
For every user data app is trying to read/write need to get permission from user 


 - Application needs to get user permission
 Execute query on the health kit store to get the details or update data


No comments:

Post a Comment