So I need to collect some heart rate data over a week to transmit over to a companion mobile app, and I was thinking of using a watchface app since it's constantly updating every minute or so. The plan was to ping the watch every 4 hours or so and accumulate a sort of heart rate average for the day like our client wants, and store it using Connect IQ's setProperty(), and then when I want to send it over to the mobile app, I'd simply get it using getProperty(), seven times for the past 7 days(Or however much currently exist). But I ran into some problems.
Maybe I'm just horribly inept at figuring this stuff out, but it seems Watch Faces don't have access to delegates/inputs/anything of that sort, after trying to get a watchface to print out basic strings based on input for the past few hours.
So I was thinking of just having a companion/side-app/widget to the watch face that will actually do the sending, getting the properties from the watch face app. But is that even possible? I use App.getApp().getProperty(), but that doesn't seem like it would be able to get another app's/watchface's properties, unless I'm wrong, in which case that would be great.
I'm not really sure what my other options here are, is there anything else other than a watchface that I could create that calls an update function fairly frequently? I imagine onUpdate works like that in general, but from what I've experienced it generally just goes back to the watchface after some period of inactivity.
Thanks