12-18-2017 14:36
12-18-2017 14:36
I have created a clockface that the user can choose a background picture in the companion settings app. The problem is, every time the clockface is restarted the background reverts to my default picture. For example, if I go for a jog without my phone. After I select Exercise and Run, when I go back to the clockface, instead of having my last selected background, I get the default image. Is there a way to keep this from reverting?
Per recommendations on this board, I keep the background images on the phone. Am I better off moving them to the phone?
12-18-2017 17:40
12-18-2017 17:40
I found it necessary to save some state info on the watch to avoid such reversions. It can be reloaded whenever the clockface restarts, and then be overridden by companion settings if any come in.
Does your clockface allow selection of arbitrary user-provided images, or from a fix set of images that you've bundled with the companion? If the former, I'd be most interested to know how to did it.
12-18-2017 18:24
12-18-2017 18:24
Thanks for the response.
The .png files are not too big, so I think I will put copies on the watch. At least until the companion settings work better (more consistent), this solution might be better anyways.
I had to pre-load a fix set of pictures for the user to choose from. I'm not up to the level of user provided images. Like you, I'd love to learn how, though.
12-18-2017 18:41
12-18-2017 18:41
I think the on-watch image is the way to go. It should be about the same size as a MP3 album (roughly).
I think I can see how to get user-provided images to be used. It's messy, though: it seems to require a web site to which the user can upload their image(s), crop them, and have them resized to 348x250. The companion could fetch() them from the site, then upload them to the watch. Phew!