Assistance in using jungle files for Device Qualifiers.

For my watch application, I have separate image resources for round and rectangular watch screens, and they are defined in their own resources folders, but I'm unable to make it work with jungle files.
When I locate the two resource folders ("resources-round" and "resources-rectangle") in

A) the root of the project, the code fails to compile, "Undefined symbol.." with this code:


(new Ui.Bitmap({:rezId=>Rez.Drawables.NavIcon

,:locX=> xOffset

,:locY=> yOffset

})).draw(dc);



B) However, when the folders are located in the "resources" folder under the root of the project, the code compiles, but at run-time the round resources are being displayed on a rectangular watch.


I have made the following entries in the monkey.jungle file:

Round.resourcePath = $(base.resourcePath);resources-round

rectangle.resourcePath = $(base.resourcePath);resourcse-rectangle



But they don't seem to operate.

It seems that the correct approach should be A), but I'm unable to make it work.





(Mac, High Sierra, Eclipse Oxygen, SDK 3.0.3)
  • In college, I had to take a foreign language to graduate. I was talking to the teacher my 3rd semester and she said it was a really stupid requirement for computer science people, as they could talk to computers and she sure couldn't with a master's degree!


    And there's the problem. I can talk Computer, but not that dialect!