Hi all, I am new to developing in Monkey C and I am trying to build my first watch face. I have followed the tutorial here:
http://blog.aaronboman.com/programming/connectiq/2014/11/11/making-an-analog-watch-face/
I have a 218x218 bitmap created and my code looks like this:
<resources>
<string id="AppName">Calibre-Analog</string>
<bitmap id="background" filename="images/black.png" />
...
extends Ui.WatchFace {
//! Load your resources here
// the BitmapResource for the background image
var background;
function onLayout(dc) {
background = Ui.loadResource(Rez.Drawables.background);
// background is now a BitmapResource instance
setLayout(Rez.Layouts.WatchFace(dc));
...
function onUpdate(dc) {
// Set background image
background = Ui.loadResource(Rez.Drawables.background);
dc.drawBitmap(0, 0, background);
When I build and run a configuration in the simulator for a round face watch it still just shows the analog sample (round face with digital time in the center). The watch face refuses to load. I am stumped. Am I missing something here that is totally obvious?
Thanks,
Roy