Honor Band 5 Analog watchface
Inviato: 28 mar 2020, 16:30
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):
"""""""
"""""""""
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 :
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 :
Have funMaximum 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.