I have used the Tizen sample Heart Rate Monitor code for Samsung Gear S3 from https://developer.tizen.org/ko/community/tip-tech/accessing-heart-rate-monitor-hrm-sensor-data-native-applications?langredirect=1
I want to develop Android or Tizen for Retrieving Data from the Heart Rate Monitor which is in S3 Gear. I found the sample code from https://developer.tizen.org/ko/development/guides/web-application/sensors/human-activity-monitor?langredirect=1#retrieve
How can I integrate this. Pls share your ideas. Thanks a lot.
With Samsung Accessory SDK, you can develop an app in Android which can communicate with Tizen app(Gear). Here is a working example
How to integrate Samsung Gear Steps in android Application?
Edit:
Here i am giving the code to measure Heart Rate and return back to Android phone when a request is sent from Android . I have just modified code from previously mentioned post and sharing here.
Here i am giving only contents from
dataOnReceive
functionAnd this code continuously returning Heart Rate. Please modified according to your requirements, i am just sharing the idea to communicate between Android phone and Samsung Gear.
Send Data to Server:
You can use Ajax or XmlHttpRequest to send data to server
Ajax:
XmlHttpRequest:
Auto generated code from REST viewer not working in Tizen IDE(Wearable) web app
XmlHttpRequest on Tizen TV exits application
RESTful service on emulator