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?
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.
Any Idea how I can make my health data readable?


On Wed, 2 Oct 2019, 12:19 pm MyungJoo Ham, <myungjoo....@samsung.com> wrote:

> >Hi
> >I hope you are doing well. I need a little from you regarding data pull
> > from Smartwatch Wearable Devices". I am working on the Samsung Galaxy
> > watch and want to extract samsung health data using pull command through
> > Tizen SDK. While extracting the data for samsung health application,
> >I get a database and log folder for the health activities performed.
> > However, I am unable to analyze the data. There are two problems that
> > I am facing.
> >1) the .db file contains the information written in chinese and therefore
> > unable to read the data. Can you please share how  to read the data.
> >It is not opening in sqlite browser either.
>
> It appears that you are doing "sdb pull" a file.
> Please specify the full path of your file being pulled so that
> some other people may try it with their own devices.
>
> Anyway, I believe that the file you are pulling is encrypted.
> Thus, you cannot read the contents directly from the file.
>
> It is probably because it is illegal to open up health-related
> information unprotected in many countries.
> If the app accessing that .db does not have a public interface,
> you cannot read it without (probably illegal) hacking it.
>
> >2) the daily log summaries are in encrypted form. Any idea how to decipher
> > them, get the key or read them.
>
> This should be the same in principle. (And both are my guesses. I didn't
> dig up related codes.)
>
> >
> >I will be very thankful to you if you can help me in this regard.Hope
> > to hear from you soon
> >Thanks
>
> If you are an application writer, I'd recommend to access data
> via the APIs, not from a database file of another app (it's prohibited.)
>
> If you are a health-related researcher who wants to access such info
> of a Watch device, you will need to modify the platform or that health
> application to write such information without encrypting it.
> Commercially-available off-the-shelf products are supposed to comply
> with the laws; thus, health-related information cannot be opened to
> other applications who may send the info via the Internet.
>
>
> Cheers,
> MyungJoo
>
_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to