Languages

Menu
Sites
Language
Querying Recorded Sensor Data

Hello my name is David and I am new in developing tizen application. 

These days, I am trying to develop a native application for tizen wearable 3.0. So far I manage to listen to sensor event and send the HRM data to my server. My next challenge now is to retrive the sensor data that have already been recorded and saved somewhere on the watch by the default application (samsung health). I have been trying to solve this problem for a week and I haven't been able to find any solution. This is my code : 

I just end up using the code example and trying to extract the content of the variable data, but nothing happen. Do I use that api wrongly or is there any other method to do this? I am looking foward to your help guys and thank you very much.

 

Best Regards,
David

 

 

Edited by: David Kosasih on 29 Oct, 2018

Responses

3 Replies
Yasin Ali

Hi,

 

Are you trying to extract data from Samsung health app on your gear device?
I think you may check these Accessory applications also https://developer.samsung.com/galaxy/accessory#samples
and https://developer.samsung.com/sample-app/list.do?ct=CT030000

 

David Kosasih

Hello Yasin Ali, thank you so much for your reply.

From the answer on this forum, https://stackoverflow.com/questions/39652983/how-to-get-pedometer-step-count-data-same-as-shealth-in-gear-s2-tizen-2-3-2, I found out that apparently we are not allowed to directly extract samsung health data from tizen wearable app. Instead, we must use samsung health android SDK if we want to retrieve these data. Am I right?

Yasin Ali

I think so.