Hello everyone,
I’m developing a standalone app for Samsung smartwatches running Wear OS 4+, and I need access to real-time sleep stage data from Samsung Health. However, over the past 5 days, I’ve been struggling to integrate the Samsung Health SDK into the app to access this sleep stage data directly.
I currently have a zip file named samsung-health-sdk-for-android-20201103.zip
, which contains the file samsung-health-data-1.5.0.aar
located in the \data-v1.5.0\libs\
directory. I’ve placed it in my app’s libs/
folder and attempted to import it into the project, but I’m not getting any success.
So my main question is: Is it possible to build a standalone watch app that can directly access real-time sleep stage data from Samsung Health on the watch itself? Or is the only way to achieve this by building a mobile companion app that syncs data via Health Connect, which in turn retrieves it from Samsung Health on the phone, which pulls it from the watch?
Any advice or guidance would be greatly appreciated. Thanks in advance!