WatchFace: MotorcycleFBSide

Former Member
Former Member
Simple watch face with side image of my motorcycle's engine and pipes.

Tested on my Fenix 3 HR but I coded to accommodate all sizes and shapes (hopefully)



- Top pipe (green) percent steps towards goal
- Bottom pipe (yellow) percent calories towards EER

EER (estimated energy requirement) is basically a formula for how many calories you're expected to burn daily based on individual factors age, gender, height, weight and activity level. This requires data from user profile. I use US averages for any missing data.

The following are configurable:

- Time format (Auto/Military/Military+Zone) the sample image is set to my time zone "Romeo"
- Date format (various formats)
- Background (Black/White)
- Heart (Red/USA/None)
- EER (Show/Hide)


I'm starting a thread here to hopefully steer people with complaints or suggestions to this page. But also because I have a couple of questions to the experienced users here, if any can comment or help with suggestions that would be much appreciated before I submit this watch face.

- Can the image be cause for rejection by Garmin? It's my own picture I shot with my phone and then cut out using a simple image tool and I'm not saying what bike it is.
- Is reading user profile generally OK or not so much?
- Runs great on my Fenix 3 HR but how do I really know it works on other devices, for example without heart rate. I downloaded the latest 2.2.0 Beta SDK which claims to simulate device specific API behavior, but all the target devices (watches) still show heart rate as being available. If someone could point to a good thread on one of the forums here that be be Tony the Tiger great.

Code: https://github.com/vmaywood/Garmin-Watch-Faces/tree/master/MotorcycleFBSide

Thanks for reading!
  • - Is reading user profile generally OK or not so much?

    I do it in all my watchfaces and no one has ever had a problem with it
    - Runs great on my Fenix 3 HR but how do I really know it works on other devices, for example without heart rate.


    getHeartRateHistory() is only available on watches with a built in OHRM (like the F3 HR) and not those that don't (like the F3).

    Here's how I set a boolean to indicate if I can use it or not:
    hasHR=(ActivityMonitor has :HeartRateIterator) ? true : false;


    It's properly set based on target devices in the simulator with 2.2.0

    Are you getting the HR is some other way (Like Activity.Info). That will just be the HR from your last activity and you'll want to use getHeartRateHistory(), as a new reading is added every couple of minutes.
  • Former Member
    Former Member over 8 years ago
    ...
    It's properly set based on target devices in the simulator with 2.2.0

    Are you getting the HR is some other way (Like Activity.Info). That will just be the HR from your last activity and you'll want to use getHeartRateHistory(), as a new reading is added every couple of minutes.


    Thank you for your response, jim_m_58.

    I downloaded the 2.2.0 Beta SDK for Mac from here: https://developer.garmin.com/connect-iq/sdk/
    I removed the old SDK just to make sure.
    I couldn't find where to get the SDK version in the API so I'm printing the MonkeyC version and hasHR:

    var Dvc = Sys.getDeviceSettings();
    var hasHR=(ActivityMonitor has :HeartRateIterator) ? true : false;
    System.println ("MonkeyC version: " + Dvc.monkeyVersion[0] + '.' + Dvc.monkeyVersion[1] + '.' + Dvc.monkeyVersion[2] );
    System.println ("Have heart rate? " + hasHR);

    Getting the following output:

    Connecting to device...
    Device Version 0.1.0
    Device id 1 name "A garmin device"
    Shell Version 0.1.0
    MonkeyC version: 2.1.2
    Have heart rate? true

    This is using epix as a target device, but happens to all devices

    Update - double checked all of the above one more time last night just to be sure
  • Former Member
    Former Member over 8 years ago
    Screen image link to my public dropbox account

    Can't figure out how to embed image directly into post and no time to figure this out so here's a public link:

    https://www.dropbox.com/s/i1s0jkdmz3cmz6k/Photo%20Oct%2022%2C%2010%2044%2002.png?dl=0
  • monkeyVersion reports the version of CIQ for the device, (minVersion) so on an epix target in the sim, for example, it will show 1.2.1. (it doesn't show the SDK version in other words)

    The best way to see what SDK you have is using the SDK Manager or checking in window>Preference>Connect IQ in the Eclipse menus.

    If you want to check that hasHR is working, try using f3-hr in the sim, as well as just the f3. (again, this is new with 2.2.0). But if you want to upload to the app store, you have to use a 2.1.x SDK (2.2.0 is beta and you can't create a .iq file with it)
  • Hi,
    in your picture, I can't see any content that might need copyright permission (e.g. company name)
    And since you didn't download it from any internet page, I don't see any problems with it.

    Also have a look here on the the general approval process:

    https://developer.garmin.com/connect-iq/submit-an-app/

    Here an extract from that page:
    General Guidelines
    We’re glad you want to develop Connect IQ apps, and we want you to be successful. Here are some guidelines that you should keep in mind as you develop your apps. These guidelines will help you speed through the approval process.

    We will reject submissions for any content or behavior that we believe is inappropriate.
    If your submission doesn’t function or crashes frequently, it may not be accepted.
    Your submission cannot use GPS data in a way that violates our developer terms of use.
    Do not use copyrighted content without permission.

    Have fun :rolleyes:
  • Former Member
    Former Member over 8 years ago
    Watch face submitted to Garmin, waiting on approval...
  • Former Member
    Former Member over 8 years ago
    Watch face approved and just uploaded minor update

    The watch face was approved the next evening, nice!

    Just posted a minor update to the app. Guy at work has a Vivioactive HR and the heart looked huge on it, so I downsized by 10 pixels for that particular watch. Also made a 1 pixel adjustment to the heart rate location itself for the other watch types.

    Also EER wasn't showing by default, fixed that too.
  • Former Member
    Former Member over 8 years ago
    Version 1.2 released

    New version adds a yellow heart shaped leaf for the autumn season for watches with built-in heart rate.

    That it, it was yellow but looks a faded brownish color on my Fenix 3 HR. Oh well, good enough.
  • Former Member
    Former Member over 8 years ago
    New version 1.3 adds snowflakes fill heart for the winter

    Enjoy!
  • Former Member
    Former Member over 8 years ago
    Version 1.4 - Selectable background colors

    Selectable background colors
    Default orange eer to match time
    All black font colors on non-black background
    Black activity bar background for non-black background
    New default red heart with black border