• Amministratore
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Honor Band 5 Analog watchface

Archive closed topics

Moderatori: Internal error, Watchmens

Bloccato
Darijus
WF maker
Messaggi: 5
Iscritto il: 04 mar 2020, 00:42
Località: Vilnius
Been thanked: 3 times
Contatta:

Honor Band 5 Analog watchface

Messaggio da Darijus »

Hello there,

While I have several requests to help with Analog Honor Band 5 watchface making, I will provide some info.

I use Honor Band 5 Analog watchface "Huawei Watch Face Designer" (You can download it on huawei developers page - see attachment). Unfortunately the analog watchface creation dialog is not listed in this software. We need to do it semi manual:
1. Create New project in Huawei Watch Face Designer, save it and exit.
2. Open the folder where the new project is situated, enter Watchface folder and open watch_face_config.xml file with notepad add these rows and save it (whole file is attached):
"""""""
<Widget widget_type="POINTERIMAGE">
<PointerImage label="layer 3 - Pointer image" y3="111" x4="19" y4="79" x1="51" y1="79" type="static" x2="51" number_of_digits="0" data_type="DATA_HOUR_PRICKER" x3="19" filter_color="0" res_dir_id="A002" y2="111"/>
</Widget>
<Widget widget_type="POINTERIMAGE">
<PointerImage label="layer 2 - Pointer image" y3="116" x4="4" y4="64" x1="56" y1="64" type="static" x2="56" number_of_digits="0" data_type="DATA_MIN_PRICKER" x3="4" filter_color="0" res_dir_id="A001" y2="116"/>
</Widget>
<Widget widget_type="POINTERIMAGE">
<PointerImage label="layer 1 - Pointer image" y3="118" x4="22" y4="82" x1="58" y1="82" type="static" x2="58" number_of_digits="0" data_type="DATA_SEC_PRICKER" x3="22" filter_color="0" res_dir_id="A000" y2="118"/>
</Widget>

"""""""""
3. Create A000, A001, A002 folders in ..\watchface\res\watchface_res\ .
4. Reopen the Project and you will have Pointer image dialog on.

Some hints :
Maximum size of com.huawei.watchface file is just 600 kb (watchface will fail to upload to your Band). Save file size on each picture. Arrows picture divided into 4 quadrants. Each quadrant consists of 15 pictures(0-14;15-29;30-44; 45-59 h/m/s). Usually using Irfanview I create Vertical Arrow that starts in the middle of square picture. Than I fine rotate (keeping original image/canvas size) by +6 degrees untill make first 15 pictures. Than using batch conversion I trim all pictures to make it small as possible. Next I rotate these 15 picture by 90 degrees. The same procedure is applied for next to quadrants.
Use some geometry to find out the x and y coordinates for each quadrant.

Be sure your images are at least 24BPP color depth.
Have fun
Allegati
hwwatchfacedesigner.jpg
hwwatchfacedesigner.jpg (65.96 KiB) Visto 1357 volte
watch_face_config.xml
(1.22 KiB) Scaricato 90 volte
akramelsaiegh
WF maker
Messaggi: 4
Iscritto il: 23 gen 2020, 00:27
Località: egypt
Contatta:

Messaggio da akramelsaiegh »

hello,
can you explain this with pictures please

"Each quadrant consists of 15 pictures(0-14;15-29;30-44; 45-59 h/m/s). Usually using Irfanview I create Vertical Arrow that starts in the middle of square picture. Than I fine rotate (keeping original image/canvas size) by +6 degrees untill make first 15 pictures. Than using batch conversion I trim all pictures to make it small as possible. Next I rotate these 15 picture by 90 degrees. The same procedure is applied for next to quadrants.
Use some geometry to find out the x and y coordinates for each quadrant.
"

form what i understand i need to make 60 pictures for every pointer !
so this means 180 pictures !!
am i right ?
Darijus
WF maker
Messaggi: 5
Iscritto il: 04 mar 2020, 00:42
Località: Vilnius
Been thanked: 3 times
Contatta:

Messaggio da Darijus »

You are wright. But I would say 15 pictures for each pricker, than Using Irfanview , you can rotate all 15 pictures by 90 degrees (Batch convert).
Also be sure to save space even small bmps are really spacy. "Com.huawei.watchface" file should not accede 600 kb after export.

Good luck
Allegati
FFFF.jpg
FFFF.jpg (81.79 KiB) Visto 1308 volte
akramelsaiegh
WF maker
Messaggi: 4
Iscritto il: 23 gen 2020, 00:27
Località: egypt
Contatta:

Messaggio da akramelsaiegh »

thank you

and thanks for shearing Sourcefiles too
akramelsaiegh
WF maker
Messaggi: 4
Iscritto il: 23 gen 2020, 00:27
Località: egypt
Contatta:

Messaggio da akramelsaiegh »

you have a little problem in switch face from the band

you must make 120*120 2 images with arrows like this
Annotation 2020-03-29 185659.jpg
Annotation 2020-03-29 185659.jpg (10.02 KiB) Visto 1304 volte
that is why you always get error when you try to export

it's not your fault the application is beta and buggy
Darijus
WF maker
Messaggi: 5
Iscritto il: 04 mar 2020, 00:42
Località: Vilnius
Been thanked: 3 times
Contatta:

Messaggio da Darijus »

thanks for info.
Bloccato

Torna a “Closed topics”

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite