Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Having an issue with a clock face.

ANSWERED

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

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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?

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

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.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

That was what I was thinking, but I can't figure out what to change in the code to make everything work.

Best Answer
0 Votes

Can anyone provide a link to code that would properly integrate both an ImagePicker and "theme" color picker that works correctly?

Best Answer
0 Votes

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 Answer
0 Votes

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.

 

https://github.com/SuperStevo86/Clock-Only-Beta.git

Best Answer
0 Votes

GitHub is now updated with new code.

 

Now the image reloads successfully but the text isn't loading at all.

Best Answer
0 Votes

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
0 Votes