Hi chaps, I’m building a WEAR OS version of my popular Garmin StuFly paragliding and paramotoring app. I have most of it all working now, but where I am struggling is in how to push the data as a new activity into Samsung Health. This happens automatically with the Garmin when I use the SDK to start an excercise and then stop at the end. With WEAR OS I am struggling to see a way without writing a companion app for the phone ? Basically there is Health Connect API, but this is not on WEAR OS afaik. Otherwise, that would do exactly what I want. And if I just setup as an ExcerciseClient in my app, all I’m doing is using the Samsung Heath Services to access data yes ? It doesn’t do any magic to actually create a new activity, save the data into it, sync it into Samsung Health ?
So, how can I do this ? To summarise what the end game here is:
- pilot uses stufly for flight (it give flight instrumentation, speed, location, moving maps, etc) and captures gps data for the length of the flight.
- pilot end flight, and requests to exit app
- app does what is needed to save/sync this data into Samsung Health
- User can open Samsung Health and see paragliding excercise has occured, look at metrics, maps, track etc.
This all works fine on Garmin without a companion app, but I’m struggling to get concrete data on how to achieve it with Wear OS, and/or if there is a specific Samsung way to make it possible ? And asking the AIs has led me down many rabbit holes of hallucinations, implementing APIs to find they are not on wear os, etc.
help please!
stu