Sample code for drawing a progress bar round the edge of a round watch face

Is there any sample code to draw a progress bar for steps count round half of a watch face? ta
  • The easy way to do this is with drawArc. Convert the percent of steps vs goal into the degrees you want the arc to cover, and bias the start and end based on where you want it to start, etc, and maybe a 360-arcStart and 360-arcEnd in the drawArc call, along with CW or CCW, and setPenWidth to handle the direction and how thick the arc should be.
  • I've finally gotten around to adding my ActivityIndicator module to the libraries section of my connectiq-samples GitHub repo which, as Jim mentions, uses the drawArc() method.

    I also recently added the source code for my Zen Digital watch face which is probably more of what you're looking for; it has an arc outline on the left side which fills up as your step count approaches the daily goal.

    Cheers,
    Douglas