I have the simplest app, a hello world app with the only purpose to show a bitmap image. It works fine on a square_watch! :-) But...
Now, I'd like to extend the app to show another bitmap on a round watch. That should be easy. As I understand it, I just need to add <iq:product id="round_watch"/> to the manifest and create a new folder next to my resources folder named resources-round_watch and in it put my image that are specific for the round watch. I therefore simply copied the resources folder and renamed it to resources-round_watch and then replaced the image. That's it.
But when I load the app into the simulator it fails with an error:
$ monkeydo hello.prg round_watch
Copying file.... 100% complete
File pushed successfully
Connection Finished
Closing shell and port
Found Transport: tcp
Connecting...
Connecting to device...
Device Version 0.1.0
Device id 1 name "A garmin device"
Shell Version 0.1.0
Failed invoking <symbol>
Invalid Resource
in onUpdate (./source/HelloView.mc:21)
Connection Finished
Closing shell and port
I build the application as:
C:\Users\a043589\Downloads\HelloGarmin>monkeyc -o ./hello.prg -m manifest.xml -z ./resources/bitmaps.xml;./resources/resources.xml;./resources/strings.xml;./resources-round_watch/bitmaps.xml;./resources-round_watch/resources.xml;./resources-round_watch/strings.xml ./source/HelloView.mc ./source/HelloApp.mc -w
What am I missing?