Pagina 1 di 1

Honor Band 5 Analog watchface

Inviato: 28 mar 2020, 16:30
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

Re: Honor Band 5 Analog watchface

Inviato: 29 mar 2020, 03:31
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 ?

Re: Honor Band 5 Analog watchface

Inviato: 29 mar 2020, 16:09
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

Re: Honor Band 5 Analog watchface

Inviato: 29 mar 2020, 16:53
da akramelsaiegh
thank you

and thanks for shearing Sourcefiles too

Re: Honor Band 5 Analog watchface

Inviato: 29 mar 2020, 17:01
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 1306 volte
that is why you always get error when you try to export

it's not your fault the application is beta and buggy

Re: Honor Band 5 Analog watchface

Inviato: 29 mar 2020, 20:42
da Darijus
thanks for info.