Hi,
you can get the screen dimensions from roDeviceInfo, however, there are only two possible sets of values that should be of concern:
720x480 (SDTV mode) (note that SDTV 16x9 mode has the same pixel dimensions)
1280x720 (HDTV mode)
so you can determine that with:
di=createobject("roDeviceInfo")
mode=di.GetDisplayType()
Weird fact: Nearly 40% of our users still use SDTV mode.
In some contexts you can assign all buttons except the Home button to any function you want, for example roImageCanvas and roScreen. In others it may not have any function and be undetectable. in some cases it has a reserved function, and in others it is detected via islistiteminfo() on messages from the message port.
However, be advised that the
function of the * key may be changing in the near future, for example in Video playback using our roVideoScreen component it will pop up a box that should allow you to control the video caption settings, and on our recently announced
Big Product it is possible that this button may wind up being a special "menu" key and not being available to developers at all.
- Joel