• Administrator
  •  
    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

Moderators: Internal error, Watchmens

Locked
Darijus
WF maker
Posts: 5
Joined: 04 Mar 2020, 00:42
Location: Vilnius
Been thanked: 3 times
Contact:

Honor Band 5 Analog watchface

Post by 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
Attachments
hwwatchfacedesigner.jpg
hwwatchfacedesigner.jpg (65.96 KiB) Viewed 1384 times
watch_face_config.xml
(1.22 KiB) Downloaded 92 times
akramelsaiegh
WF maker
Posts: 4
Joined: 23 Jan 2020, 00:27
Location: egypt
Contact:

Post by 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
Posts: 5
Joined: 04 Mar 2020, 00:42
Location: Vilnius
Been thanked: 3 times
Contact:

Post by 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
Attachments
FFFF.jpg
FFFF.jpg (81.79 KiB) Viewed 1335 times
akramelsaiegh
WF maker
Posts: 4
Joined: 23 Jan 2020, 00:27
Location: egypt
Contact:

Post by akramelsaiegh »

thank you

and thanks for shearing Sourcefiles too
akramelsaiegh
WF maker
Posts: 4
Joined: 23 Jan 2020, 00:27
Location: egypt
Contact:

Post by 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) Viewed 1331 times
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
Posts: 5
Joined: 04 Mar 2020, 00:42
Location: Vilnius
Been thanked: 3 times
Contact:

Post by Darijus »

thanks for info.
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 1 guest