Total newbie here with watch face studio (and any sort of watch face designing). I don’t quite understand how do you add calories since a tag can’t be used. I heard someone saying putting in a complication for calories but can someone explain it further or any link to documentation? thanks!
Calories is not supported on Wear OS Powered by Samsung.
Except for Step Count Samsung Health is not supported because it has not made its API Public but will make more public. It was possible in GWS because we had access to private API’s.
Older Wear OS watch faces had access to more Samsung Health complications and that may be what you read but those haven’t been updated to Wear OS Powered by Samsung yet.
So Samsung decided “lets make an application for watchfaces, so peaople can create their own… BUT dont give them options to use the usefull things of the app”
Smart job, thank you
The philosophy of Wear OS is to have a single User Experience and to do that they use customization of the complications. Small Image and Monochromatic Image complications will allow the user to select the health complications.
Because of recent GDPR regulations how data is used, stored and shared. With the Tizen OS watches that was only on Samsung smart watches and we could include a private API for Heath data tags and fulfill the requirements for data. This is not possible with Wear OS Powered by Samsung which is on multiple watch brands.
I believe the WFS team and Health team are aware of the desire for health tags.
I hope this helps explain it to your satisfaction.
Yes you are correct, I was addressing Samsung Health active burnt calories. Other watch faces are for the most part controlled by a companion phone app or are created using Android Studio where the developer can create it’s own algorithm for storing a global calorie value.
Samsung Health has a complication that exports the Active Calories burnt but do not export the raw data. Wear OS Health Services does allow programmers to do this.
By the way there is no way to report calories burnt only active calories because everyone’s metabolism is different.
I had the opportunity to compare AndroidManifest.xml from the pre-release GW4 S Health app (working all health related complications) and the current version of S Health…
There is only one difference.
Current version of S Health is missing SHORT_TEXT, LONG_TEXT in supported complication types.
I don’t know why steps info is not considered as “sensitive” while heart rate measurement or stress is.
Steps count is not private but I believe that EKG and other Health Algorithms are. Heart rate and steps are part of Wear Health Services. The only issue with steps is setting the goal. I’m waiting for the next release of WFS to see what things are improved.
OK. So the upshot of this is I cannot track calories burned like I could on GWS. I assume its in SHealth so I can access that and see. But can I do that on the watch? I’m looking for some way to track calories burned in a day on the watch as a function of managing my workout.
Since this thread started there have been major changes in Wear OS health. Health Platform has been deprecated and Wear3 and Wear 4 now use Health Connect to share health and fitness data. Samsung Watches would have Samsung Health and other Watches would have access to Google Health or a 3rd party health. If you are using Android Studio to develop your mobile app you can request access to Health Connect.
I do not know the status but I am hoping that after Wear 4 is released and an updated Samsung Health more data will be available as Tags in WFS.
By the way only burn calories during active time are counted. It is virtually impossible to count all calories as every persons metabolism is different. Also a step count calories burnt would not be the same as a health app reports so be careful of reporting that number.
The Health Services does have Basal Rate and active calories included.
So what the calorie function reflects is what I’ve burnt during an exercise period, such as swimming? If so that’s great because that’s what I’m looking to track.
This is an estimate of the calories you have expended at rest and while making steps only. The first constant (0.04347823) is the amount of calories you burn per step. This is calculated from active calories (taken from a health app) divided by the number of steps taken at that time. Assumes of course that all activity was only steps.
The second constant (1.1808) is the number of calories you burn at rest per minute. This is obtained by using the Benedict Formula to calculate the number of calories you burn at rest during a day for your weight, height, and age, and then dividing this number by the number of minutes in a 24 hour period, e.g., 1,440. This part is therefore a function of time only.
Hi, I’m looking for exactly this.
The problem is that I don’t know where to insert this formula.
Could you explain to me how to create an entry like this and especially where to insert the formula?
Thanks
It is a Formula to inset in a text box . It has been well worked out as most don’t include Life Calories . Sadly that formula gas not been Format protected so it has some errors . I will fix it for you . So that assumes you can not . I dont mean to be a Smart Ass . Sometimes we make that mistake on here , not meaning to .
Hi, no I don’t know how to do it.
I tried to insert the formula after inserting a text box but the result is reading the formula on the watch face, as if it were simple text.
I’m attaching a screenshot.
I also tried to insert the formula in a complication but I didn’t get the desired result.
I would be very grateful if you could explain to me how to do it.
Yeah . Well done . I am working on a formula for you . As I said it is for a text box but if it has errors it will just show the formula on the display .
This is what I came up with it is ported from another platform so it looks different . It is doing the same job .
. ((round((([HOUR_0_23_MIN])/24)*1800))+(round(([SC]*.0475))))
.
See the time of day as a fraction of the total estimate of the Life Calories added to an estimate of the calories burnt per step . This is not a Health monitor . It is only for comparative tests with the next day . I have based this on my Biometrics . I am quite tall . If you let me know your Metrics I will try tweak it .
.
Yeeeeeee It works!!! THANK YOU SO MUCH!!!
Yes I understood the basal calories discussion.
In practice you calculated on your person basal calories + calories consumed at each step.
In practice
1800 are your basal calories consumed per day and .0475 your calories consumed at each step.
Just change the two values with those referring to my person and that’s it.
In my case I am 176cm tall, weigh 68-70kg and I am 49 years old.
My basal metabolism is between 1450-1500 kcal/day and I should consume per normal walking step 0.038000/0.041000 kcal/step.
I just need to change these two values and obtain the formula most suited to my person.
Thank you very much for this contribution.
I wish you a good day.
Yes . Exactly . Obviously as you can imagine there are other formulas but not as Descriptive . Formulas that are not descriptive are not easy for those with less experiance to modify . It is a pleasure to help spmeone who is so greatful .