Cannot load image with hmUI.createWidget #438
-
I want to add image widget, but file is no loading. File is in assets/images/image.png. I also tried with Is there something i'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There should be another folder in the assets folder. Its name depends on which API the application is built on. For example, on API, this folder may be called ‘466x466-gtr-4’. On API 3, it is ‘default.r’ or ‘default.s’. If you are creating a project using Zeus, simply create an empty project for your watch model and the necessary folders will already be there. They will contain the application icon. |
Beta Was this translation helpful? Give feedback.
There should be another folder in the assets folder. Its name depends on which API the application is built on. For example, on API, this folder may be called ‘466x466-gtr-4’. On API 3, it is ‘default.r’ or ‘default.s’.
If you are creating a project using Zeus, simply create an empty project for your watch model and the necessary folders will already be there. They will contain the application icon.