08-21-2020 19:11 - edited 08-24-2020 09:07
08-21-2020 19:11 - edited 08-24-2020 09:07
I'm having an issue with a clock face I'm working on in which it downloads and installs correctly, and I can use the ImagePicker and theme color picker without issue, but when I go to my clocks app and select a different face, when I reselect the clock face I'm having issues with, the screen stays blank. If I take either feature out, the clock face works just fine. If someone could look at the code and let me know how to integrate both into the clock face, that would be greatly appreciated. I've provided a link to the source files for download/viewing.
https://github.com/SuperStevo86/Clock-Only-Beta.git
Thank you in advance.
SuperStevo86
Answered! Go to the Best Answer.
Best Answer08-25-2020 10:05
08-25-2020 10:05
I've made more changes to my code and now I'm back to image not reloading on restore, but the theme color does. Is that expected behavior, and everything is functioning properly or is there still an issue regarding the image reloading?
Best Answer08-21-2020 19:26
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
08-21-2020 19:26
I haven't looked at your code, but the symptoms sound like you may not be saving and restoring the settings on your watch. When your clockface is closed (eg, because another clockface is started), the values of all variables are lost.
Best Answer08-21-2020 19:45
08-21-2020 19:45
That was what I was thinking, but I can't figure out what to change in the code to make everything work.
Best Answer08-21-2020 19:55
08-21-2020 19:55
Can anyone provide a link to code that would properly integrate both an ImagePicker and "theme" color picker that works correctly?
Best Answer08-21-2020 20:55
08-21-2020 20:55
I've figured out what needed to be changed so the clock face would reload without going to a blank screen. Now, the issue is the image won't reload, but the theme color does.
Best Answer08-24-2020 09:17
08-24-2020 09:17
I've moved my files to a repository on GitHub so they can more easily be viewed.
I'm still having the issue where the image I select doesn't reload when I reload the app. Please hellp.
Best Answer08-24-2020 11:40
08-24-2020 11:40
GitHub is now updated with new code.
Now the image reloads successfully but the text isn't loading at all.
Best Answer08-25-2020 10:05
08-25-2020 10:05
I've made more changes to my code and now I'm back to image not reloading on restore, but the theme color does. Is that expected behavior, and everything is functioning properly or is there still an issue regarding the image reloading?
Best Answer