First I'll introduce myself, I'm Bennie, 54 years old and suffer ME for 15 years now.
I bought a Venu3 almost a year ago to monitor my health and see if it could help me manage my energy, and I'm lucky, cause it does. As the representation of data valuable to me is in different places I designed a watchface to have it shown to me in colors instead of numbers to make it more intuitive.
I have a background in programming from Cobol to C++ however I haven't been coding for over 15 years. One of the benefits of using my Venu3 is that I can code again. Suggestions for recent good code examples would be welcome, as a lot of information I can find is almost as rusty as I am.
Questions I have with regard with my current developments:
1. Settings. Is it because I have a Venu3 I cannot use settings directly from the watchface? Is the only possibility to create settings that are managed from the store app? I'd like to give users the option for two switches, One to choose between showing month number or week number, and the other option to show or hide the background picture. I like to keep things simple, but this would add value for the users.
2. Energy management. In old documentation there is a lot about saving energy before onPartialUpdate was introduced and with regard to current documentation I only use onUpdate. Is it helpfull to store the background drawn over partially to have it partially restored the next second, or is this something done by the system itself nowadays?
3. Is it possible to dynamic code drawables from the XML file? As I understood the ids are hardcoded by the compiler. I want to use my own watchface framework and derive several thematised watchfaces from it. I'd like the code to cycle through the avaible drawables from the XML file and choose the one to use dynamicly. Is that possible? For now I use a black 2x2 pixels .png as a workaround.
4. When I use the bodybattery from complications every calculation with it returns 0, I have made a workaround passing it through a string and back to a number to fix this. Maybe I'm using complications wrong? The other complications I use in exact the same way don't have this problem. It feels like a pointer is passed instead of a value.
That's it for now, as I'm getting used to the environment I'll hope I'll have less questions to ask and more answers to give.
Thanks in advance for helping me out.