Image Map-like Blackberry Control - CLDC Application
问题 Does anyone know of an Image Map-like Blackberry Control that I can use in my CLDC application? If there isn't one, is there a way to get click x,y coordinates on a MainScreen or BitmapField derived control? Thanks, 回答1: I assume you're thinking of this control for the Storm - the only device for which clicking on an arbitrary point on screen makes sense. In that case, the easiest way is probably to subclass BitmapField to be focusable and respond to clicks - something like this: public class