>Hi 
>Thanks for replying back to me. 
>The folder locations are:
>
>1) data\apps_rw\health-data-service\data_healthShare.db
>
>the data seems to be in chinese, which I am unable to comprehend. Any clues 
>how to make them readable?

They are not in Chinese. They are encrypted and your viewer simply cannot 
understand what's going on there.
It appears that you are confused of encryption and encoding.

Unlike encoding, with encryption, you cannot open it even if you fully 
understand the mechanisms; you are simply not supposed to read it.

However, you may access it via APIs of S-Health:
https://developer.samsung.com/health/device
, like other partners of Samsung Health.

>
>2) data\apps_rw\com.samsung.shealth_gear\data\logfiles
>
>This folder contains log files for health activities. I think it has been 
>encoded in base64. I have tried to decode it, but still seems to be in 
>encrypted form.
>
>I am using DB browser for SQLite. But seems that It can not give me database 
>values.
>


They are encrypted with a secure key, not encoded with base64.
You cannot directly access it.

This probably is to protect such data from being read by other applications or 
people.
(otherwise, it'd be illegal in many developed countries.)


>Any Idea how I can make my health data readable?

If that's possible (without accessing Samsung Health APIs), it means we have 
security bugs.


Cheers,
MyungJoo


ps. If you are accessing health data of your own or the consented for your own 
research, you may need to write a health-data-tracking app of yourself and 
store the data as plain data. A commercial product cannot do it normally due to 
legal issues (data protection laws).
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to