We’ve purchased a D60 for evaluation and are trying out the application API on the phone. We’re able to load applications on the phone and have gotten “Hello World” up and running.
We moved over to “bigclock” (downloaded from the Phone API samples page) but are having less luck. After installing the application, we get the following errors in syslog:
[ae] bigclock: /nvdata/jsapps/bigclock/startup.js:23: Error: invalid color
[ae] bigclock: group.color = ‘black’;
If we comment out the “group.color” line, it does run, but the background is grey. If I debug the value of group.color, I get “bgcolor”.
Reading the API docs for Widget (Group’s parent class):
They list “white” and “black” as the values for the color property. However, neither of these work. There is also no mention of the “bgcolor” value, which seems to be the only one that works.
Is there a different API reference I should be using?