Source code for Flip Clock watch face for the Garmin Vivoactive HR https://apps.garmin.com/en-US/apps/a492ab4f-8917-4a73-9efe-fac2bd39f71b
Please import this project following the instructions here: https://developer.garmin.com/connect-iq/programmers-guide/getting-started/ under the heading "Importing an Example" so as to create a copy, allowing you to work off a copy instead of the original files.
And most importantly, each project has been assigned a unique identifier UUID and it's recommended that you generate your own UUID for the project (it's "ID=" in the manifest.xml). If you have my version of the app on your device and then upload your own with the same UUID as mine, it could result in something messy. Please refer to this page https://developer.garmin.com/connect-iq/programmers-guide/entry-points/ under the heading "Application Attributes" for more details. You can generate your own UUID here: https://www.uuidgenerator.net/version4
Don't work on this project itself and then upload the completed project to Garmin. Create your own project and use this as a sort of sandbox and reference and then move the code lines over to your own project. This would also resolve point #2.
By the way, this stuff is not copyrighted so feel free to modify and mess around with it. Just don't sell it for profit or otherwise. :-)
Oh, I can't guarantee that this will work for your Vivoactive HR or your project, so please use it at your own risk and only if you are willing to take that risk as I won't be responsible for your watch screwing up. :-D
I am unable to answer any emails or request for help or clarifications as I have a full time (non-tech) job that requires a lot of my time. Sorry. :-) But one good place to request for assistance or help is the forum which I went to quite a lot. The people there have been very generous with their knowledge and you can also search through it for other similar questions or issues which were resolved. https://forums.garmin.com/forumdisplay.php?479-Connect-IQ
While my watch face uses built in system fonts, I also use a custom font for the time as the largest system font wasn't big enough. Please refer to this Youtube tutorial on how to get custom font into your project: https://www.youtube.com/watch?v=PRQyA4BeqqE or this blog post on custom font: https://developer.garmin.com/index.php/blog/post/connect-iq-pro-tip-custom-fonts-tricks
The sites below have helped in one way or another:
- https://www.youtube.com/watch?v=PRQyA4BeqqE (Video tutorial by Petr Koula)
- https://developer.garmin.com/connect-iq/programmers-guide/ (Garmin's developer guide)
- https://forums.garmin.com/forumdisplay.php?479-Connect-IQ (Garmin's developers' forum)
Font for the Time is "SWISS 911 Ultra Compressed BT (TrueType)" obtained from here: http://www.lcarscom.net/faq.htm while I used the default device font for the rest.